Only allow smooth scrolling when focused in the page

This commit is contained in:
David Darnes 2021-01-14 10:52:24 +00:00 committed by GitHub
parent 2b129490ed
commit 6aed477cc9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,7 +26,7 @@ ol[role="list"] {
}
/* Set core root defaults */
html {
html:focus-within {
scroll-behavior: smooth;
}