Skip to content

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

FIX: prevents extreme cases to overflow in selected content (#14339)

Joffrey JAFFEUXe263b8419604
diff --git a/app/assets/stylesheets/common/select-kit/select-kit.scss b/app/assets/stylesheets/common/select-kit/select-kit.scss
index 387b1ba0baf..29b0a142bd7 100644
--- a/app/assets/stylesheets/common/select-kit/select-kit.scss
+++ b/app/assets/stylesheets/common/select-kit/select-kit.scss
@@ -166,6 +166,11 @@
display: none;
background: var(--secondary);
box-sizing: border-box;
+
+ .selected-content {
+ max-height: 300px;
+ overflow-y: scroll;
+ }
}
.select-kit-row {