Skip to content

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

Taller category dropdown using viewport height

Krisd7b1a83e9436
diff --git a/app/assets/stylesheets/common/base/_topic-list.scss b/app/assets/stylesheets/common/base/_topic-list.scss
index fdda1adc4a2..82fff84febe 100644
--- a/app/assets/stylesheets/common/base/_topic-list.scss
+++ b/app/assets/stylesheets/common/base/_topic-list.scss
@@ -25,6 +25,7 @@
align-self: center;
.select-kit-collection {
font-size: $font-down-1;
+ max-height: 40vh;
.texts, .icons {
font-size: $font-up-1;
}
diff --git a/app/assets/stylesheets/common/select-kit/combo-box.scss b/app/assets/stylesheets/common/select-kit/combo-box.scss
index 0898e3413d8..3a90ed9e0ee 100644
--- a/app/assets/stylesheets/common/select-kit/combo-box.scss
+++ b/app/assets/stylesheets/common/select-kit/combo-box.scss
@@ -48,7 +48,7 @@
flex-direction: column;
padding: 0;
min-width: 100px;
- max-height: 300px;
+ max-height: 200px;
max-width: 32em;
.collection-header {