mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-20 23:12:13 +00:00
Merge pull request #833 from Stremio/fix/calendar-scroll-position
Calendar: Fix items scroll in view to ensure borders remain visible
This commit is contained in:
commit
0459676c2a
2 changed files with 6 additions and 2 deletions
|
|
@ -95,4 +95,4 @@
|
||||||
&:not(.active):hover {
|
&:not(.active):hover {
|
||||||
border-color: var(--overlay-color);
|
border-color: var(--overlay-color);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -10,6 +10,10 @@
|
||||||
width: 20rem;
|
width: 20rem;
|
||||||
padding: 0 1rem;
|
padding: 0 1rem;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
|
||||||
|
@supports (scroll-padding-block-start: 0.15rem) {
|
||||||
|
scroll-padding-block-start: 0.15rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media only screen and (max-width: @small) and (orientation: portrait) {
|
@media only screen and (max-width: @small) and (orientation: portrait) {
|
||||||
|
|
@ -34,4 +38,4 @@
|
||||||
.list {
|
.list {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Loading…
Reference in a new issue