Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvictorwu416 <wu.victor@gmail.com>2016-10-06 22:35:37 +0300
committervictorwu416 <wu.victor@gmail.com>2016-10-06 22:35:37 +0300
commit7cf68093275cc3052e75ccd9473cf0ae5d384595 (patch)
tree0b3c0cabb762d26dcfa8f3b39f8cb89b5e3d595c /app/assets/stylesheets/pages/labels.scss
parent6320192592f32519c07231480cbd669a71e78320 (diff)
Truncate long labels with ellipsis in labels page
Diffstat (limited to 'app/assets/stylesheets/pages/labels.scss')
-rw-r--r--app/assets/stylesheets/pages/labels.scss7
1 files changed, 7 insertions, 0 deletions
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 {