summaryrefslogtreecommitdiff
path: root/app/views/shared/notes
diff options
context:
space:
mode:
authorEric Eastwood <contact@ericeastwood.com>2017-12-05 01:35:37 -0600
committerEric Eastwood <contact@ericeastwood.com>2017-12-08 04:30:13 -0600
commitb87c53c72d7cb3226200b025ee7d7ca8fccece42 (patch)
treea20581b9deace7b0aa5e3147c6f9ee67d0b7dc01 /app/views/shared/notes
parent7fabc892f251740dbd9a4755baede662e6854870 (diff)
downloadgitlab-ce-b87c53c72d7cb3226200b025ee7d7ca8fccece42.tar.gz
Fix comment on image discussion icon alignment39608-comment-on-image-discussions-tab-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.haml4
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?