Make smooth scrolling target the entire HTML
This commit is contained in:
parent
fc22c57d18
commit
ec9ec6fa87
|
@ -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…
Reference in New Issue