fix_gravatar_icon_position_in_gantt.patch

Mizuki ISHIKAWA, 2017-11-10 06:26

Download (1.17 KB)

View differences:

lib/redmine/helpers/gantt.rb
666 666
            assigned_string = l(:field_assigned_to) + ": " + issue.assigned_to.name
667 667
            s << view.avatar(issue.assigned_to,
668 668
                             :class => 'gravatar icon-gravatar',
669
                             :size => 10,
669
                             :size => 13,
670 670
                             :title => assigned_string).to_s.html_safe
671 671
          end
672 672
          s << view.link_to_issue(issue).html_safe
public/stylesheets/application.css
1165 1165
.gantt_subjects { font-size: 0.8em; }
1166 1166
.gantt_subjects div { line-height:16px;height:16px;overflow:hidden;white-space:nowrap;text-overflow: ellipsis; }
1167
.gantt_subjects .issue-subject img.icon-gravatar {
1168
  margin: 2px 5px 0px 2px;
1169
}
1170

  
1167 1171
.task {
1168 1172
  position: absolute;
1169 1173
  height:8px;