From f88e4225c1c35d5667aa5dcf7af0ab8e7d096226 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Wed, 20 Feb 2013 20:46:42 +0000 Subject: [PATCH] Removed hard-coded style in watchers list. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11444 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/helpers/watchers_helper.rb | 2 +- public/stylesheets/application.css | 2 +- 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;}