1
1
mirror of https://github.com/theoludwig/theoludwig.git synced 2024-11-05 04:51:30 +01:00

fix: add scroll behavior: smooth

This commit is contained in:
Théo LUDWIG 2024-05-16 09:32:20 +02:00
parent 2a635bf3ba
commit 66cf6d7438
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B

View File

@ -57,10 +57,13 @@ const RootLayout = (props: RootLayoutProps): JSX.Element => {
return (
<html
lang={i18n.locale}
className={classNames({
dark: theme === "dark",
light: theme === "light",
})}
className={classNames(
{
dark: theme === "dark",
light: theme === "light",
},
"scroll-smooth",
)}
style={{
colorScheme: theme,
}}