Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/search/results/_note.html.haml')
-rw-r--r--app/views/search/results/_note.html.haml10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/search/results/_note.html.haml b/app/views/search/results/_note.html.haml
index 67f16075649..c7c91e768df 100644
--- a/app/views/search/results/_note.html.haml
+++ b/app/views/search/results/_note.html.haml
@@ -3,11 +3,11 @@
- noteable_identifier = note.noteable.try(:iid) || note.noteable.try(:id)
.search-result-row
- %h5.note-search-caption.str-truncated
- = sprite_icon('comment', css_class: 'gl-vertical-align-text-bottom')
- = link_to_member(project, note.author, avatar: false)
- - link_to_project = link_to(project.full_name, project)
- = _("commented on %{link_to_project}").html_safe % { link_to_project: link_to_project }
+ %h5.note-search-caption.gl-max-w-full
+ %span.gl-display-inline-block.gl-text-truncate.search-max-w-inherit.gl-vertical-align-bottom
+ = sprite_icon('comment', css_class: 'gl-vertical-align-text-bottom')
+ = link_to_member(project, note.author, avatar: false)
+ = _("commented on %{link_to_project}").html_safe % { link_to_project: link_to(project.full_name, project) }
·
- if note.for_commit?