mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-15 01:41:08 +02:00
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:
parent
1bd001ec9a
commit
9b8814ea37
1 changed files with 17 additions and 0 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue