Project

General

Profile

Defect #26410 » fix_gravatar_icon_position_in_gantt.patch

Mizuki ISHIKAWA, 2017-11-10 06:26

View differences:

lib/redmine/helpers/gantt.rb
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
public/stylesheets/application.css
.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;
(2-2/3)