summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGeorge Tsiolis <tsiolis.g@gmail.com>2018-10-26 19:14:13 +0300
committerGeorge Tsiolis <tsiolis.g@gmail.com>2018-10-26 19:18:31 +0300
commit7921e7d2555ca2a49cc15648e2054a3c13f166a2 (patch)
tree84560e19156c976abeb204b6d2af431f71f2eb52 /app
parent679c0048a8f679aad456c02e30486150bbd0d93d (diff)
downloadgitlab-ce-7921e7d2555ca2a49cc15648e2054a3c13f166a2.tar.gz
Truncate milestone title on collapsed sidebar
Diffstat (limited to 'app')
-rw-r--r--app/views/shared/issuable/_sidebar.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/shared/issuable/_sidebar.html.haml b/app/views/shared/issuable/_sidebar.html.haml
index 10ffe8dd37f..5295e656ab0 100644
--- a/app/views/shared/issuable/_sidebar.html.haml
+++ b/app/views/shared/issuable/_sidebar.html.haml
@@ -24,7 +24,7 @@
.block.milestone
.sidebar-collapsed-icon.has-tooltip{ title: milestone_tooltip_title(issuable.milestone), data: { container: 'body', html: 'true', placement: 'left', boundary: 'viewport' } }
= icon('clock-o', 'aria-hidden': 'true')
- %span.milestone-title
+ %span.milestone-title.collapse-truncated-title
- if issuable.milestone
= issuable.milestone.title
- else