Truncate milestone title on collapsed sidebar

This commit is contained in:
George Tsiolis 2018-10-26 19:14:13 +03:00
parent 679c0048a8
commit 7921e7d255
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -0,0 +1,5 @@
---
title: Truncate milestone title on collapsed sidebar
merge_request: 22624
author: George Tsiolis
type: changed