refactor(Video): add scroll-margin

This commit is contained in:
Timothy Z. 2025-10-30 18:21:40 +02:00
parent a9c77da3c4
commit 75804bac10

View file

@ -20,6 +20,10 @@
margin-bottom: 0.5rem;
border-radius: var(--border-radius);
@supports (scroll-margin: 1.25rem) {
scroll-margin: 1.25rem;
}
&:hover,
&:focus,
&:global(.active) {
@ -178,10 +182,10 @@
@keyframes border {
0% {
border: 2px solid var(--primary-accent-color);
border: 0.15rem solid var(--primary-accent-color);
}
100% {
border: 2px solid transparent;
border: 0.15rem solid transparent;
}
}