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:
authorKushal Pandya <kushalspandya@gmail.com>2019-04-16 16:14:24 +0300
committerKushal Pandya <kushalspandya@gmail.com>2019-04-16 16:14:24 +0300
commit86be4a6f466205b415de74330dd495a2e8b3c9d0 (patch)
tree3a2499d9ac0a144800a5f682f8625b0a59d7ec77 /app/assets/stylesheets/pages/labels.scss
parentc16619c527afdd00aa4dbbbf7544afb2f38477a8 (diff)
parent17a48fadee10fe476c1be54c6df0913ed2af2791 (diff)
Merge branch '48431-width' into 'master'
Hide overflow in scoped labels Closes #48431 See merge request gitlab-org/gitlab-ce!27362
Diffstat (limited to 'app/assets/stylesheets/pages/labels.scss')
-rw-r--r--app/assets/stylesheets/pages/labels.scss19
1 files changed, 19 insertions, 0 deletions
diff --git a/app/assets/stylesheets/pages/labels.scss b/app/assets/stylesheets/pages/labels.scss
index 7084e8715e0..e3d0d0b0fa2 100644
--- a/app/assets/stylesheets/pages/labels.scss
+++ b/app/assets/stylesheets/pages/labels.scss
@@ -408,12 +408,21 @@
}
.scoped-label-wrapper {
+ max-width: 100%;
+ vertical-align: top;
+
+ .badge {
+ text-overflow: ellipsis;
+ overflow-x: hidden;
+ }
+
&.label-link .color-label a {
color: inherit;
}
.color-label {
padding-right: $gl-padding-24;
+ max-width: 100%;
}
.scoped-label {
@@ -444,3 +453,13 @@
}
}
}
+
+// Don't hide the overflow in system messages
+.system-note-message,
+.issuable-detail {
+ .scoped-label-wrapper {
+ .badge {
+ overflow: initial;
+ }
+ }
+}