sendou.ink/app/components/Main.module.css
Kalle 6e987d506f
Some checks are pending
E2E Tests / e2e (push) Waiting to run
Tests and checks on push / run-checks-and-tests (push) Waiting to run
Updates translation progress / update-translation-progress-issue (push) Waiting to run
Tournament layout refresh, improve admin experience (#3152)
2026-06-11 18:31:10 +03:00

32 lines
633 B
CSS

.main {
container-type: inline-size;
padding: var(--layout-main-padding);
margin-bottom: var(--s-32);
min-height: calc(100dvh - var(--layout-nav-height));
/* Fill the whole content area (sidebars already excluded by the flex
layout) while staying a query container, so a descendant can break out
of the page max-width and size against the full width via cqw units. */
&[data-main-breakout] {
max-width: none;
}
}
.normal {
width: 100%;
max-width: 48rem;
margin-inline: auto;
}
.narrow {
width: 100%;
max-width: 24rem;
margin-inline: auto;
}
.wide {
width: 100%;
max-width: 72rem;
margin-inline: auto;
}