Fix SM breakpoint detection on mobile

This commit is contained in:
2026-07-06 19:01:11 +02:00
parent 272fcaf301
commit e26ae027e1

View File

@@ -3,7 +3,7 @@ import { reactive } from '#shared/reactive';
export type Breakpoint = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
const BREAKPOINT_WIDTHS: [Breakpoint, number][] = [
['sm', 640],
['sm', 1],
['md', 768],
['lg', 1024],
['xl', 1280],