1
1
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:
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 ( return (
<html <html
lang={i18n.locale} lang={i18n.locale}
className={classNames({ className={classNames(
{
dark: theme === "dark", dark: theme === "dark",
light: theme === "light", light: theme === "light",
})} },
"scroll-smooth",
)}
style={{ style={{
colorScheme: theme, colorScheme: theme,
}} }}