Only allow smooth scrolling when focused in the page
This commit is contained in:
parent
2b129490ed
commit
6aed477cc9
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ ol[role="list"] {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Set core root defaults */
|
/* Set core root defaults */
|
||||||
html {
|
html:focus-within {
|
||||||
scroll-behavior: smooth;
|
scroll-behavior: smooth;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue