Skip to content

A platform for community discussion. Free, open, simple.

UX: Prevent categories from overflowing select-kit

awesomerobotf1ac3cf88811
diff --git a/app/assets/stylesheets/common/select-kit/category-row.scss b/app/assets/stylesheets/common/select-kit/category-row.scss
index df43c956035..7ee11ae3aab 100644
--- a/app/assets/stylesheets/common/select-kit/category-row.scss
+++ b/app/assets/stylesheets/common/select-kit/category-row.scss
@@ -13,6 +13,10 @@
margin: 0;
}
.category-status {
+ overflow: hidden;
+ .badge-wrapper {
+ overflow: hidden;
+ }
.badge-wrapper.box {
margin-bottom: 1px;
margin-top: 1px;
diff --git a/app/assets/stylesheets/common/select-kit/select-kit.scss b/app/assets/stylesheets/common/select-kit/select-kit.scss
index a4ffccfc3a7..d55c14726b4 100644
--- a/app/assets/stylesheets/common/select-kit/select-kit.scss
+++ b/app/assets/stylesheets/common/select-kit/select-kit.scss
@@ -19,6 +19,7 @@
flex-direction: column;
align-items: center;
justify-content: center;
+ max-width: 100%;
}
.select-kit-collection {