summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-02-20 20:46:42 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-02-20 20:46:42 +0000
commitf88e4225c1c35d5667aa5dcf7af0ab8e7d096226 (patch)
tree2704a18f5051b85afcb6d6964d2f51c685d303ae
parentaca31973c28110047efd30537d5266b4c8987080 (diff)
downloadredmine-f88e4225c1c35d5667aa5dcf7af0ab8e7d096226.tar.gz
redmine-f88e4225c1c35d5667aa5dcf7af0ab8e7d096226.zip
Removed hard-coded style in watchers list.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11444 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/helpers/watchers_helper.rb2
-rw-r--r--public/stylesheets/application.css2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/watchers_helper.rb b/app/helpers/watchers_helper.rb
index d7384e7a1..b69837c2a 100644
--- a/app/helpers/watchers_helper.rb
+++ b/app/helpers/watchers_helper.rb
@@ -63,7 +63,7 @@ module WatchersHelper
:user_id => user}
s << ' '
s << link_to(image_tag('delete.png'), url,
- :remote => true, :method => 'delete', :style => "vertical-align: middle", :class => "delete")
+ :remote => true, :method => 'delete', :class => "delete")
end
content << content_tag('li', s, :class => "user-#{user.id}")
end
diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css
index 7b3c22f2a..ca9877fd6 100644
--- a/public/stylesheets/application.css
+++ b/public/stylesheets/application.css
@@ -270,7 +270,7 @@ div.projects h3 { background: url(../images/projects.png) no-repeat 0% 50%; padd
#watchers ul {margin: 0; padding: 0;}
#watchers li {list-style-type:none;margin: 0px 2px 0px 0px; padding: 0px 0px 0px 0px;}
#watchers select {width: 95%; display: block;}
-#watchers a.delete {opacity: 0.4;}
+#watchers a.delete {opacity: 0.4; vertical-align: middle;}
#watchers a.delete:hover {opacity: 1;}
#watchers img.gravatar {margin: 0 4px 2px 0;}