diff options
author | Eric Eastwood <contact@ericeastwood.com> | 2017-12-05 10:35:37 +0300 |
---|---|---|
committer | Eric Eastwood <contact@ericeastwood.com> | 2017-12-08 13:30:13 +0300 |
commit | b87c53c72d7cb3226200b025ee7d7ca8fccece42 (patch) | |
tree | a20581b9deace7b0aa5e3147c6f9ee67d0b7dc01 /app/views/shared/notes | |
parent | 7fabc892f251740dbd9a4755baede662e6854870 (diff) |
Fix comment on image discussion icon alignment
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/39608
Use SVG icons to avoid having to position things
See https://gitlab.com/gitlab-org/gitlab-ce/issues/39608#note_50088917
Diffstat (limited to 'app/views/shared/notes')
-rw-r--r-- | app/views/shared/notes/_note.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/shared/notes/_note.html.haml b/app/views/shared/notes/_note.html.haml index c978d9e4821..98e0161f7d1 100644 --- a/app/views/shared/notes/_note.html.haml +++ b/app/views/shared/notes/_note.html.haml @@ -20,8 +20,8 @@ - if note.is_a?(DiffNote) && note.on_image? - if show_image_comment_badge && note_counter == 0 -# Only show this for the first comment in the discussion - %span.image-comment-badge.inverted - = icon('comment-o') + %span.image-comment-badge + = sprite_icon('image-comment-dark') - elsif note_counter == 0 - counter = badge_counter if local_assigns[:badge_counter] - badge_class = "hidden" if @fresh_discussion || counter.nil? |