Make smooth scrolling target the entire HTML

This commit is contained in:
Leilukin 2024-05-07 11:33:43 +08:00 committed by Helen Chong
parent 69ee6f7fc9
commit 2f5520564f
2 changed files with 2 additions and 2 deletions

View File

@ -120,7 +120,7 @@ textarea:not([rows]) {
/* ------------------- */
/* General Styles */
html:focus-within {
html {
scroll-behavior: smooth;
}

View File

@ -120,7 +120,7 @@ textarea:not([rows]) {
/* ------------------- */
/* General Styles */
html:focus-within {
html {
scroll-behavior: smooth;
}