refactor: dropdown styles

This commit is contained in:
Timothy Z. 2024-10-02 17:08:17 +03:00
parent 67aeed6005
commit 3da5891667

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,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);
}
}
}