mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-29 05:38:48 +00:00
refactor: dropdown styles
This commit is contained in:
parent
67aeed6005
commit
3da5891667
1 changed files with 12 additions and 2 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,8 +16,8 @@
|
|||
|
||||
&.open {
|
||||
display: block;
|
||||
max-height: 50vh;
|
||||
overflow: scroll;
|
||||
max-height: calc(3.2rem * 10);
|
||||
overflow: auto;
|
||||
}
|
||||
|
||||
.back-button {
|
||||
|
|
@ -29,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