Skip to content

Commit

Permalink
Merge pull request #1081 from amvanbaren/webui-increase-mobile-breakp…
Browse files Browse the repository at this point in the history
…oint

Increase mobile header menu breakpoint to lg
  • Loading branch information
amvanbaren authored Jan 13, 2025
2 parents f0cc5cd + 4864a03 commit 2c1b233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webui/src/header-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const HeaderMenu: FunctionComponent = () => {
defaultMenuContent: DefaultMenuContent,
mobileMenuContent: MobileMenuContent
} = pageSettings.elements;
const isMobile = useMediaQuery(theme.breakpoints.down('sm'));
const isMobile = useMediaQuery(theme.breakpoints.down('lg'));
if (isMobile && MobileMenuContent) {
return <MobileHeaderMenu menuContent={MobileMenuContent} />;
} else if (DefaultMenuContent) {
Expand Down

0 comments on commit 2c1b233

Please sign in to comment.