Added supports check

This commit is contained in:
Ivelin Megdanov 2025-02-17 15:27:19 +02:00
parent 91ed45625b
commit 5c316f4a33
2 changed files with 8 additions and 2 deletions

View file

@ -9,7 +9,10 @@
border-radius: var(--border-radius);
border: 0.15rem solid transparent;
transition: border-color 0.1s ease-out;
scroll-margin-block-start: 2px;
@supports (scroll-margin-block-start: 2px) {
scroll-margin-block-start: 2px;
}
.heading {
flex: none;

View file

@ -10,7 +10,10 @@
width: 20rem;
padding: 0 1rem;
overflow-y: auto;
scroll-padding-block-start: 2px;
@supports (scroll-padding-block-start: 2px) {
scroll-padding-block-start: 2px;
}
}
@media only screen and (max-width: @small) and (orientation: portrait) {