Merge pull request #697 from Stremio/fix/dropdown-scroll

fix: dropdown scroll
This commit is contained in:
Tim 2024-10-02 16:10:55 +02:00 committed by GitHub
commit 0ae23fbc81
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,7 @@
// Copyright (C) 2017-2024 Smart code 203358507
@import (reference) '~stremio/common/screen-sizes.less';
.dropdown {
background: var(--modal-background-color);
display: none;
@ -14,6 +16,8 @@
&.open {
display: block;
max-height: calc(3.2rem * 10);
overflow: auto;
}
.back-button {
@ -27,4 +31,12 @@
width: 1.5rem;
}
}
}
@media only screen and (max-width: @minimum) {
.dropdown {
&.open {
max-height: calc(3.2rem * 7);
}
}
}