Skip to content

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

FIX: Inner content of a row could have no max-width and be very large (#9532)

Joffrey JAFFEUX82b43451b3ce
diff --git a/app/assets/stylesheets/common/select-kit/category-row.scss b/app/assets/stylesheets/common/select-kit/category-row.scss
index aca31f3dd20..0d90a61814f 100644
--- a/app/assets/stylesheets/common/select-kit/category-row.scss
+++ b/app/assets/stylesheets/common/select-kit/category-row.scss
@@ -1,5 +1,6 @@
.select-kit {
.category-row {
+ max-width: 320px;
.category-status {
display: flex;
align-items: center;
diff --git a/app/assets/stylesheets/common/select-kit/select-kit.scss b/app/assets/stylesheets/common/select-kit/select-kit.scss
index d128feb04ce..c5ec3aa374a 100644
--- a/app/assets/stylesheets/common/select-kit/select-kit.scss
+++ b/app/assets/stylesheets/common/select-kit/select-kit.scss
@@ -27,6 +27,7 @@
top: 0;
align-items: center;
justify-content: center;
+ max-width: 400px;
}
.select-kit-collection {