diff options
author | Go MAEDA <maeda@farend.jp> | 2017-11-25 15:29:52 +0000 |
---|---|---|
committer | Go MAEDA <maeda@farend.jp> | 2017-11-25 15:29:52 +0000 |
commit | 4b30e7a90e21840eddabc67d42efa6b2c41ac60f (patch) | |
tree | e35258e7df6bcd51087200baef1d3ba7b6642167 | |
parent | 412aa218e8963c4e6b592def1cce47a31f1a7b30 (diff) | |
download | redmine-4b30e7a90e21840eddabc67d42efa6b2c41ac60f.tar.gz redmine-4b30e7a90e21840eddabc67d42efa6b2c41ac60f.zip |
Fix: Gravatar icon is misaligned in gantt (#26410).
Contributed by Mizuki ISHIKAWA.
git-svn-id: http://svn.redmine.org/redmine/trunk@17027 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | lib/redmine/helpers/gantt.rb | 2 | ||||
-rw-r--r-- | public/stylesheets/application.css | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lib/redmine/helpers/gantt.rb b/lib/redmine/helpers/gantt.rb index 4ff2ec944..a4b7a2f39 100644 --- a/lib/redmine/helpers/gantt.rb +++ b/lib/redmine/helpers/gantt.rb @@ -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 diff --git a/public/stylesheets/application.css b/public/stylesheets/application.css index 7d2b662e1..854616247 100644 --- a/public/stylesheets/application.css +++ b/public/stylesheets/application.css @@ -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; |