Skip to content

Commit 11a5ccd

Browse files
committed
feat: max-w-6xl on very wide displays
on viewports wider than 128rem (2048px), use max-w-6xl to maintain margin-to-content ratio
1 parent 5e80b00 commit 11a5ccd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/layouts/MainLayout.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const {
2828
<link rel="sitemap" href="/sitemap-index.xml" />
2929
</head>
3030
<body
31-
class="flex flex-col min-h-screen max-w-4xl mx-auto gap-4 sm:pb-4 bg-center bg-no-repeat bg-cover bg-fixed bg-prism-background-light dark:bg-prism-background-dark bg-[url('/img/background/prism-backgroundLight.svg')] dark:bg-[url('/img/background/prism-backgroundDark.svg')]"
31+
class="flex flex-col min-h-screen max-w-4xl min-[128rem]:max-w-6xl mx-auto gap-4 sm:pb-4 bg-center bg-no-repeat bg-cover bg-fixed bg-prism-background-light dark:bg-prism-background-dark bg-[url('/img/background/prism-backgroundLight.svg')] dark:bg-[url('/img/background/prism-backgroundDark.svg')]"
3232
>
3333
<Header />
3434
<main class="flex-1 flex flex-col gap-4">

0 commit comments

Comments
 (0)