mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-22 00:12:08 +00:00
Fixed Linting Errors in Dropdown.tsx and removed the seperator logic from dropdown and style from less file
This commit is contained in:
parent
f4a9c88c68
commit
5f82d6e9da
1 changed files with 34 additions and 45 deletions
|
|
@ -1,13 +1,10 @@
|
|||
// Copyright (C) 2017-2024 Smart code 203358507
|
||||
// Copyright (C) 2017-2024 Smart code 203358507
|
||||
|
||||
@import (reference) '~stremio/common/screen-sizes.less';
|
||||
@import (reference) '~stremio/common/screen-sizes.less';
|
||||
|
||||
@parent-height: 10rem;
|
||||
@parent-height: 12rem;
|
||||
|
||||
|
||||
|
||||
|
||||
.dropdown {
|
||||
.dropdown {
|
||||
background: var(--modal-background-color);
|
||||
display: none;
|
||||
position: absolute;
|
||||
|
|
@ -36,20 +33,12 @@
|
|||
width: 1.5rem;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.separator-after {
|
||||
border-bottom: thin solid var(--overlay-color);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@media (orientation: landscape) and (max-width: @xsmall) {
|
||||
@media (orientation: landscape) and (max-width: @xsmall) {
|
||||
.dropdown {
|
||||
&.open {
|
||||
max-height: calc(100dvh - var(--horizontal-nav-bar-size) - @parent-height);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Loading…
Reference in a new issue