From 9b8814ea37efb4433fc6e27dc43f871d6fa805fb Mon Sep 17 00:00:00 2001 From: Till JS Date: Fri, 3 Apr 2026 13:14:08 +0200 Subject: [PATCH] fix(ui): make homepage PageCarousel full-width (no side padding) Break out of the layout's max-w-7xl px-4 container using negative margins so the workbench carousel fills the entire viewport width. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../apps/web/src/routes/(app)/+page.svelte | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/apps/manacore/apps/web/src/routes/(app)/+page.svelte b/apps/manacore/apps/web/src/routes/(app)/+page.svelte index 3896b6cd5..6d0fd0dcc 100644 --- a/apps/manacore/apps/web/src/routes/(app)/+page.svelte +++ b/apps/manacore/apps/web/src/routes/(app)/+page.svelte @@ -176,5 +176,22 @@ display: flex; flex-direction: column; position: relative; + /* Break out of layout's max-w-7xl px-4 container */ + margin: -2rem -1rem 0; + width: calc(100% + 2rem); + } + + @media (min-width: 640px) { + .workbench { + margin: -2rem -1.5rem 0; + width: calc(100% + 3rem); + } + } + + @media (min-width: 1024px) { + .workbench { + margin: -2rem -2rem 0; + width: calc(100% + 4rem); + } }