mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-05-15 03:51:33 +00:00
refactor(Video): add scroll-margin
This commit is contained in:
parent
a9c77da3c4
commit
75804bac10
1 changed files with 6 additions and 2 deletions
|
|
@ -20,6 +20,10 @@
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
border-radius: var(--border-radius);
|
border-radius: var(--border-radius);
|
||||||
|
|
||||||
|
@supports (scroll-margin: 1.25rem) {
|
||||||
|
scroll-margin: 1.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
&:hover,
|
&:hover,
|
||||||
&:focus,
|
&:focus,
|
||||||
&:global(.active) {
|
&:global(.active) {
|
||||||
|
|
@ -178,10 +182,10 @@
|
||||||
|
|
||||||
@keyframes border {
|
@keyframes border {
|
||||||
0% {
|
0% {
|
||||||
border: 2px solid var(--primary-accent-color);
|
border: 0.15rem solid var(--primary-accent-color);
|
||||||
}
|
}
|
||||||
100% {
|
100% {
|
||||||
border: 2px solid transparent;
|
border: 0.15rem solid transparent;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue