diff options
author | victorwu416 <wu.victor@gmail.com> | 2016-10-06 22:35:37 +0300 |
---|---|---|
committer | victorwu416 <wu.victor@gmail.com> | 2016-10-06 22:35:37 +0300 |
commit | 7cf68093275cc3052e75ccd9473cf0ae5d384595 (patch) | |
tree | 0b3c0cabb762d26dcfa8f3b39f8cb89b5e3d595c /app/assets/stylesheets/pages/labels.scss | |
parent | 6320192592f32519c07231480cbd669a71e78320 (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.scss | 7 |
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 { |