mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-20 19:02:15 +00:00
Moved scroll padding/margin inside the classes
This commit is contained in:
parent
6e806d5c84
commit
91ed45625b
2 changed files with 2 additions and 12 deletions
|
|
@ -9,6 +9,7 @@
|
|||
border-radius: var(--border-radius);
|
||||
border: 0.15rem solid transparent;
|
||||
transition: border-color 0.1s ease-out;
|
||||
scroll-margin-block-start: 2px;
|
||||
|
||||
.heading {
|
||||
flex: none;
|
||||
|
|
@ -95,10 +96,4 @@
|
|||
&:not(.active):hover {
|
||||
border-color: var(--overlay-color);
|
||||
}
|
||||
}
|
||||
|
||||
@supports (scroll-margin-block-start: 2px) {
|
||||
.item {
|
||||
scroll-margin-block-start: 2px;
|
||||
}
|
||||
}
|
||||
|
|
@ -10,6 +10,7 @@
|
|||
width: 20rem;
|
||||
padding: 0 1rem;
|
||||
overflow-y: auto;
|
||||
scroll-padding-block-start: 2px;
|
||||
}
|
||||
|
||||
@media only screen and (max-width: @small) and (orientation: portrait) {
|
||||
|
|
@ -34,10 +35,4 @@
|
|||
.list {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
@supports (scroll-padding-block-start: 2px) {
|
||||
.list {
|
||||
scroll-padding-block-start: 2px;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue