mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-01-11 22:40:31 +00:00
Merge pull request #697 from Stremio/fix/dropdown-scroll
fix: dropdown scroll
This commit is contained in:
commit
0ae23fbc81
1 changed files with 12 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue