summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmmar Alakkad <am.alakkad@gmail.com>2019-07-11 14:22:33 +0300
committerAmmar Alakkad <am.alakkad@gmail.com>2019-07-16 19:24:10 +0300
commit8a475ddbfef60b0154a9eb74d407ce592cde3cc8 (patch)
treebc2dee6b7b9f22ced0e60f433daa1faeb355ccad
parent77c8fe01d64edc003c73e3f285cd2c3d0f5f14c6 (diff)
downloadgitlab-ce-8a475ddbfef60b0154a9eb74d407ce592cde3cc8.tar.gz
Add styles to break long labels in labels dropdown
-rw-r--r--app/assets/stylesheets/pages/labels.scss10
1 files changed, 10 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/labels.scss b/app/assets/stylesheets/pages/labels.scss
index 11e8a32389f..d6c80ec22dc 100644
--- a/app/assets/stylesheets/pages/labels.scss
+++ b/app/assets/stylesheets/pages/labels.scss
@@ -29,6 +29,16 @@
.dropdown-menu-labels {
.dropdown-content {
max-height: 135px;
+
+ .label-item {
+ display: flex;
+ flex-direction: row;
+ word-break: break-word;
+ }
+
+ .dropdown-label-box {
+ flex: 0 0 auto;
+ }
}
}