Fixed Linting Errors in Dropdown.tsx and removed the seperator logic from dropdown and style from less file

This commit is contained in:
Jordan Clarke 2025-06-21 12:46:41 +01:00
parent f4a9c88c68
commit 5f82d6e9da

View file

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