diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-03-24 22:23:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-03-24 22:23:27 +0200 |
commit | a48e64e72a1e5a89f3615ed82005c42b4549eb2f (patch) | |
tree | 7c431aad496ff02125debd1043b7d8364d84073b /src/alf/breakpoints.ts | |
parent | 412b10742006df48dbde99414453c335f62942b6 (diff) | |
download | voidsky-a48e64e72a1e5a89f3615ed82005c42b4549eb2f.tar.zst |
make the sidebar smaller when offset, reduce total offset (#8052)
Diffstat (limited to 'src/alf/breakpoints.ts')
-rw-r--r-- | src/alf/breakpoints.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/alf/breakpoints.ts b/src/alf/breakpoints.ts index f30a4b489..c9f66a77f 100644 --- a/src/alf/breakpoints.ts +++ b/src/alf/breakpoints.ts @@ -31,8 +31,8 @@ export function useBreakpoints(): Record<Breakpoint, boolean> & { * Fine-tuned breakpoints for the shell layout */ export function useLayoutBreakpoints() { - const rightNavVisible = useMediaQuery({minWidth: 1075}) - const centerColumnOffset = useMediaQuery({minWidth: 1075, maxWidth: 1300}) + const rightNavVisible = useMediaQuery({minWidth: 1100}) + const centerColumnOffset = useMediaQuery({minWidth: 1100, maxWidth: 1300}) const leftNavMinimal = useMediaQuery({maxWidth: 1300}) return { |