Commit 279744f0 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray

Truncate long label names

parent edfa2e3f
...@@ -280,7 +280,7 @@ ...@@ -280,7 +280,7 @@
width: 150px; width: 150px;
flex-shrink: 0; flex-shrink: 0;
.label { .badge {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
max-width: 100%; max-width: 100%;
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
None None
%a{ href: "#", %a{ href: "#",
"v-for" => "label in issue.labels" } "v-for" => "label in issue.labels" }
%span.badge.color-label.has-tooltip{ ":style" => "{ backgroundColor: label.color, color: label.textColor }" } .badge.color-label.has-tooltip{ ":style" => "{ backgroundColor: label.color, color: label.textColor }" }
{{ label.title }} {{ label.title }}
- if can_admin_issue? - if can_admin_issue?
.selectbox .selectbox
......
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