mirror of
https://github.com/theoludwig/theoludwig.git
synced 2024-12-08 00:44:30 +01:00
fix: add scroll behavior: smooth
This commit is contained in:
parent
2a635bf3ba
commit
66cf6d7438
@ -57,10 +57,13 @@ const RootLayout = (props: RootLayoutProps): JSX.Element => {
|
|||||||
return (
|
return (
|
||||||
<html
|
<html
|
||||||
lang={i18n.locale}
|
lang={i18n.locale}
|
||||||
className={classNames({
|
className={classNames(
|
||||||
dark: theme === "dark",
|
{
|
||||||
light: theme === "light",
|
dark: theme === "dark",
|
||||||
})}
|
light: theme === "light",
|
||||||
|
},
|
||||||
|
"scroll-smooth",
|
||||||
|
)}
|
||||||
style={{
|
style={{
|
||||||
colorScheme: theme,
|
colorScheme: theme,
|
||||||
}}
|
}}
|
||||||
|
Loading…
Reference in New Issue
Block a user