FEATURE Refining block widths

This commit is contained in:
Antoine M 2026-01-27 13:59:58 +01:00
parent 304ab57c00
commit 5a6e49b2b2

View File

@ -11,9 +11,18 @@
background-color: var(--content-box-background-color, transparent);
}
&.alignwide {
&.alignwide, &.aligncontained {
@apply !mx-auto;
}
&.aligncontained {
@apply !max-w-screen-lg ;
}
/* &.alignwide {
@apply max-w-screen-lg;
} */
.wp-block-group {
}
@ -49,7 +58,16 @@
}
&__innerblocks {
@apply max-w-screen-lg mx-auto px-4 md:px-8;
@apply mx-auto px-4 md:px-8;
>:not(.alignwide):not(.alignfull) {
@apply max-w-screen-lg mx-auto ;
}
}
&.alignwide .content-box__innerblocks{
>:not(.alignfull) {
@apply max-w-screen-xl mx-auto ;
}
}
h3 {
/* @apply title-small font-bold; */