]> source.dussan.org Git - redmine.git/commitdiff
Fix: Gravatar icon is misaligned in gantt (#26410).
authorGo MAEDA <maeda@farend.jp>
Sat, 25 Nov 2017 15:29:52 +0000 (15:29 +0000)
committerGo MAEDA <maeda@farend.jp>
Sat, 25 Nov 2017 15:29:52 +0000 (15:29 +0000)
Contributed by Mizuki ISHIKAWA.

git-svn-id: http://svn.redmine.org/redmine/trunk@17027 e93f8b46-1217-0410-a6f0-8f06a7374b81

lib/redmine/helpers/gantt.rb
public/stylesheets/application.css

index 4ff2ec9449f426e077f21716f5a64e859e11cad3..a4b7a2f39f95f5487b246e1ed804e9a21dff2e7a 100644 (file)
@@ -666,7 +666,7 @@ module Redmine
             assigned_string = l(:field_assigned_to) + ": " + issue.assigned_to.name
             s << view.avatar(issue.assigned_to,
                              :class => 'gravatar icon-gravatar',
-                             :size => 10,
+                             :size => 13,
                              :title => assigned_string).to_s.html_safe
           end
           s << view.link_to_issue(issue).html_safe
index 7d2b662e187211b1cc9a47de9150eb9e88fd94a8..854616247f0eeffe979d97ffcb62720ff4dfce7b 100644 (file)
@@ -1165,6 +1165,10 @@ div.wiki img {vertical-align:middle; max-width:100%;}
 .gantt_subjects { font-size: 0.8em; }
 .gantt_subjects div { line-height:16px;height:16px;overflow:hidden;white-space:nowrap;text-overflow: ellipsis; }
 
+.gantt_subjects .issue-subject img.icon-gravatar {
+  margin: 2px 5px 0px 2px;
+}
+
 .task {
   position: absolute;
   height:8px;