summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvictorwu416 <wu.victor@gmail.com>2016-10-06 15:35:37 -0400
committervictorwu416 <wu.victor@gmail.com>2016-10-06 15:35:37 -0400
commit7cf68093275cc3052e75ccd9473cf0ae5d384595 (patch)
tree0b3c0cabb762d26dcfa8f3b39f8cb89b5e3d595c
parent6320192592f32519c07231480cbd669a71e78320 (diff)
downloadgitlab-ce-7cf68093275cc3052e75ccd9473cf0ae5d384595.tar.gz
Truncate long labels with ellipsis in labels page
-rw-r--r--CHANGELOG1
-rw-r--r--app/assets/stylesheets/pages/labels.scss7
2 files changed, 8 insertions, 0 deletions
diff --git a/CHANGELOG b/CHANGELOG
index 0da60766e33..2293a19a476 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1,6 +1,7 @@
Please view this file on the master branch, on stable branches it's out of date.
v 8.13.0 (unreleased)
+ - Truncate long labels with ellipsis in labels page
- Update runner version only when updating contacted_at
- Add link from system note to compare with previous version
- Use gitlab-shell v3.6.2 (GIT TRACE logging)
diff --git a/app/assets/stylesheets/pages/labels.scss b/app/assets/stylesheets/pages/labels.scss
index 38c7cd98e41..822830706a5 100644
--- a/app/assets/stylesheets/pages/labels.scss
+++ b/app/assets/stylesheets/pages/labels.scss
@@ -59,6 +59,13 @@
width: 200px;
margin-bottom: 0;
}
+
+ .label {
+ overflow: hidden;
+ text-overflow: ellipsis;
+ vertical-align: middle;
+ max-width: 100%;
+ }
}
.label-description {