Commit e14fc5ed authored by Jarek Ostrowski's avatar Jarek Ostrowski

Add text overflow style to event activity issue name

MR: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/42370
parent eacdaa70
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
= link_to event.target_link_options, class: 'has-tooltip event-target-link gl-mr-2', title: event.target_title do = link_to event.target_link_options, class: 'has-tooltip event-target-link gl-mr-2', title: event.target_title do
= event.target.reference_link_text = event.target.reference_link_text
- unless event.milestone? - unless event.milestone?
%span.event-target-title.gl-mr-2{ dir: "auto" } %span.event-target-title.gl-text-overflow-ellipsis.gl-overflow-hidden.gl-mr-2{ dir: "auto" }
= """.html_safe + event.target.title + "&quot".html_safe = """.html_safe + event.target.title + "&quot".html_safe
- else - else
%span.event-type.d-inline-block.gl-mr-2{ class: event.action_name } %span.event-type.d-inline-block.gl-mr-2{ class: event.action_name }
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
= event_note_title_html(event) = event_note_title_html(event)
- title = note_target_title(event.target) - title = note_target_title(event.target)
- if title.present? - if title.present?
%span.event-target-title.gl-mr-2{ dir: "auto" } %span.event-target-title.gl-text-overflow-ellipsis.gl-overflow-hidden.gl-mr-2{ dir: "auto" }
= """.html_safe + title + "&quot".html_safe = """.html_safe + title + "&quot".html_safe
= render "events/event_scope", event: event = render "events/event_scope", event: event
......
---
title: Fix text overflow events issue name
merge_request: 42370
author:
type: fixed
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment