Make smooth scrolling target the entire HTML

This commit is contained in:
Helen Chong 2024-05-07 11:33:43 +08:00
parent fc22c57d18
commit ec9ec6fa87
2 changed files with 2 additions and 2 deletions

View File

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

View File

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