Keep single-column layout on mobile until desktop breakpoints.

Wide max-widths and shop grids now only expand at lg/xl, not sm/md.
This commit is contained in:
2026-05-24 04:28:49 -06:00
parent 91cced4c75
commit 68b3da1d13
3 changed files with 5 additions and 6 deletions

View File

@@ -10,8 +10,8 @@ type AppShellProps = {
};
const contentWidthClass = {
default: "max-w-lg md:max-w-2xl lg:max-w-4xl",
wide: "max-w-lg md:max-w-3xl lg:max-w-6xl",
default: "max-w-lg lg:max-w-4xl",
wide: "max-w-lg lg:max-w-6xl",
} as const;
export function AppShell({
@@ -25,7 +25,7 @@ export function AppShell({
<AppTopBar />
<main
className={cn(
"mx-auto px-4 py-6 md:px-5",
"mx-auto px-4 py-6 lg:px-5",
wide ? contentWidthClass.wide : contentWidthClass.default,
)}
>