From a760a47a80fe33fc279e7b26490f6b6c9e1f90f3 Mon Sep 17 00:00:00 2001 From: Basile Spaenlehauer Date: Thu, 12 Dec 2024 10:20:50 +0100 Subject: [PATCH] fix: move scroll behavior to html element (#1143) --- src/theme.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/theme.ts b/src/theme.ts index 4a930a5ff..76857c5c5 100644 --- a/src/theme.ts +++ b/src/theme.ts @@ -158,7 +158,7 @@ export const createGraaspTheme = ({ components: { MuiCssBaseline: { styleOverrides: ` - body { + html { scroll-behavior: smooth; } `,