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) <noreply@anthropic.com>
This commit is contained in:
Till JS 2026-04-03 13:14:08 +02:00
parent 1bd001ec9a
commit 9b8814ea37

View file

@ -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);
}
}
</style>