forge
Explore
Log in

Don't you dare go Hollow

📐 expand content max-width on large monitors

Browse files at this commit

8ade4f3ef956c074cdba02609cc855fc19ab2a1eBurak BoduroğluParent: fcfa59d
  • fix
    • 📐 expand content max-width on large monitors
Show full message
fix: 📐 expand content max-width on large monitors

- app-shell container max-w bumped from fixed 1200px to
  1280px / 1600px(xl) / unlimited(2xl+)
- pages now fill available width on monitors instead of
  looking cramped in a narrow center strip
src/components/layout/app-shell.tsxmodified+1 -1
@@ -157,7 +157,7 @@ export function AppShell(props: ParentProps) {
157 class={cn(157 class={cn(
158 "mx-auto w-full px-4 py-6 sm:px-6 lg:px-8 lg:py-5",158 "mx-auto w-full px-4 py-6 sm:px-6 lg:px-8 lg:py-5",
159 auth.user() && !wide() && "pb-24 lg:pb-5",159 auth.user() && !wide() && "pb-24 lg:pb-5",
160- wide() ? "max-w-none" : "max-w-[1200px]",160+ wide() ? "max-w-none" : "max-w-[1280px] xl:max-w-[1600px] 2xl:max-w-none",
161 )}161 )}
162 >162 >
163 {props.children}163 {props.children}