diff --git a/resources/css/blocks/content-box.css b/resources/css/blocks/content-box.css index bc6c1d8..c9caaf0 100644 --- a/resources/css/blocks/content-box.css +++ b/resources/css/blocks/content-box.css @@ -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; */