Skip to content

Commit

Permalink
[website] Fix mobile layout shift
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Jun 8, 2024
1 parent c66a51d commit 3c0b821
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/src/components/header/ThemeModeToggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default function ThemeModeToggle() {

// Server-side hydration
if (mode === null) {
return <IconButton color="primary" disableTouchRipple />;
return <IconButton color="primary" size="small" disableTouchRipple />;
}

// TODO remove this code branch, all pages should be migrated to use CssVarsProvider
Expand Down

0 comments on commit 3c0b821

Please sign in to comment.