Commit 49c6e0a7 authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch 'fix-text-overflow-profile-activity' into 'master'

Add text overflow style to event activity issue name

See merge request gitlab-org/gitlab!42370
parents 722ae431 e14fc5ed
......@@ -11,7 +11,7 @@
= 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
- 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
- else
%span.event-type.d-inline-block.gl-mr-2{ class: event.action_name }
......
......@@ -9,7 +9,7 @@
= event_note_title_html(event)
- title = note_target_title(event.target)
- 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
= 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