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

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

It would for example cause an issue for a lot of selected items with long names.

diff --git a/app/assets/stylesheets/common/select-kit/select-kit.scss b/app/assets/stylesheets/common/select-kit/select-kit.scss
index 387b1ba..29b0a14 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 {

GitHub sha: e263b8419604e38821def8bb7f868e92159c4c9e

This commit appears in #14339 which was approved by pmusaraj. It was merged by pmusaraj.