Skip to content

Commit 0599a7f

Browse files
committed
refactor(css): update to .dropdown-menu-scroll
1 parent 0d52c94 commit 0599a7f

2 files changed

Lines changed: 3 additions & 12 deletions

File tree

src/css/admin.css

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2611,7 +2611,8 @@ textarea {
26112611
}
26122612

26132613
.dropdown-menu-scroll {
2614-
max-block-size: calc(100vh - 12rem);
2614+
min-block-size: 2.5rem;
2615+
max-block-size: calc(100vh - 32.5rem);
26152616
overflow-y: auto;
26162617
overscroll-behavior: contain;
26172618
}
@@ -3765,10 +3766,6 @@ select.is-valid ~ .select2-container.select2-container--focus .select2-selection
37653766
}
37663767

37673768
@media (max-width: 48rem) {
3768-
.dropdown-menu-scroll {
3769-
max-block-size: calc(100vh - 32rem);
3770-
}
3771-
37723769
.info-box .icon {
37733770
font-size: 5rem;
37743771
}
@@ -3778,12 +3775,6 @@ select.is-valid ~ .select2-container.select2-container--focus .select2-selection
37783775
}
37793776
}
37803777

3781-
@media (max-width: 62rem) {
3782-
.dropdown-menu-scroll {
3783-
max-block-size: calc(100vh - 32rem);
3784-
}
3785-
}
3786-
37873778
@media (min-width: 62rem) {
37883779
.dropdown-menu-wide {
37893780
inline-size: -webkit-max-content;

src/css/admin.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)