Make smooth scrolling target the entire HTML
This commit is contained in:
parent
69ee6f7fc9
commit
2f5520564f
@ -120,7 +120,7 @@ textarea:not([rows]) {
|
|||||||
/* ------------------- */
|
/* ------------------- */
|
||||||
|
|
||||||
/* General Styles */
|
/* General Styles */
|
||||||
html:focus-within {
|
html {
|
||||||
scroll-behavior: smooth;
|
scroll-behavior: smooth;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -120,7 +120,7 @@ textarea:not([rows]) {
|
|||||||
/* ------------------- */
|
/* ------------------- */
|
||||||
|
|
||||||
/* General Styles */
|
/* General Styles */
|
||||||
html:focus-within {
|
html {
|
||||||
scroll-behavior: smooth;
|
scroll-behavior: smooth;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user