Skip to content

Commit

Permalink
fix: add smooth scroll (#1142)
Browse files Browse the repository at this point in the history
  • Loading branch information
spaenleh authored Dec 11, 2024
1 parent abe493c commit ae4e827
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,13 @@ export const createGraaspTheme = ({
drawer: 100,
},
components: {
MuiCssBaseline: {
styleOverrides: `
body {
scroll-behavior: smooth;
}
`,
},
MuiAvatar: {
styleOverrides: {
root: {
Expand Down

0 comments on commit ae4e827

Please sign in to comment.