Project

General

Profile

Actions

Patch #43684

open

Remove unused style for `span.add_attachment a`

Added by Go MAEDA about 3 hours ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Code cleanup/refactoring
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

The CSS rule for span.add_attachment a, defined at source:tags/6.1.1/app/assets/stylesheets/application.css#L576, is no longer used and can be safely removed.

It was introduced in r9254 for "Add another file" link in the attachment form. However, the link was removed in r10977 and the CSS rule has not been used since then.

diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css
index 0abf9e3e8..422853e8e 100644
--- a/app/assets/stylesheets/application.css
+++ b/app/assets/stylesheets/application.css
@@ -633,7 +633,6 @@ td.center {text-align:center;}
 span#watchers_inputs {overflow:auto; display:block;}
 span.search_for_watchers {display:block;}
 span.search_for_watchers, span.add_attachment {font-size:93%; line-height:2.5em;}
-span.add_attachment a {padding-left:16px; background: url(/bullet_add.png) no-repeat 0 50%; }

 input:disabled, select:disabled, textarea:disabled {
   cursor: not-allowed;

No data to display

Actions

Also available in: Atom PDF