1
0
mirror of https://github.com/meineerde/redmine.git synced 2025-12-20 15:31:12 +00:00

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
This commit is contained in:
Go MAEDA 2017-11-25 15:29:52 +00:00
parent 412aa218e8
commit 4b30e7a90e
2 changed files with 5 additions and 1 deletions

View File

@ -666,7 +666,7 @@ module Redmine
assigned_string = l(:field_assigned_to) + ": " + issue.assigned_to.name assigned_string = l(:field_assigned_to) + ": " + issue.assigned_to.name
s << view.avatar(issue.assigned_to, s << view.avatar(issue.assigned_to,
:class => 'gravatar icon-gravatar', :class => 'gravatar icon-gravatar',
:size => 10, :size => 13,
:title => assigned_string).to_s.html_safe :title => assigned_string).to_s.html_safe
end end
s << view.link_to_issue(issue).html_safe s << view.link_to_issue(issue).html_safe

View File

@ -1165,6 +1165,10 @@ div.wiki img {vertical-align:middle; max-width:100%;}
.gantt_subjects { font-size: 0.8em; } .gantt_subjects { font-size: 0.8em; }
.gantt_subjects div { line-height:16px;height:16px;overflow:hidden;white-space:nowrap;text-overflow: ellipsis; } .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 { .task {
position: absolute; position: absolute;
height:8px; height:8px;