Fix Top Header layout following changes in the Shadcn Sidebar;

Fix useMobile breakpoint to 1024px, to match our Tailwind convention for mobile breakpoints (lg)
This commit is contained in:
gbuomprisco
2024-11-21 12:31:16 +08:00
parent afe1ca43cc
commit 977c958975
6 changed files with 20 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
import * as React from 'react';
const MOBILE_BREAKPOINT = 768;
const MOBILE_BREAKPOINT = 1024;
export function useIsMobile() {
const [isMobile, setIsMobile] = React.useState<boolean | undefined>(