diff --git a/sass/blocks/_blocks.scss b/sass/blocks/_blocks.scss index 9522daad..cc481e49 100644 --- a/sass/blocks/_blocks.scss +++ b/sass/blocks/_blocks.scss @@ -681,6 +681,11 @@ //! Columns .wp-block-columns { + &.alignfull { + padding-left: $size__spacing-unit; + padding-right: $size__spacing-unit; + } + @include media(tablet) { .wp-block-column > * { @@ -700,6 +705,12 @@ margin-right: 0; } } + + &.alignfull, + &.alignfull .wp-block-column { + padding-left: calc(2 * #{$size__spacing-unit}); + padding-right: calc(2 * #{$size__spacing-unit}); + } } } diff --git a/style-rtl.css b/style-rtl.css index dec2efc9..74c5822b 100755 --- a/style-rtl.css +++ b/style-rtl.css @@ -4368,6 +4368,11 @@ body.page .main-navigation { word-break: break-word; } +.entry .entry-content .wp-block-columns.alignfull { + padding-right: 1rem; + padding-left: 1rem; +} + @media only screen and (min-width: 768px) { .entry .entry-content .wp-block-columns .wp-block-column > *:first-child { margin-top: 0; @@ -4381,6 +4386,11 @@ body.page .main-navigation { .entry .entry-content .wp-block-columns[class*='has-'] > *:last-child { margin-left: 0; } + .entry .entry-content .wp-block-columns.alignfull, + .entry .entry-content .wp-block-columns.alignfull .wp-block-column { + padding-right: calc(2 * 1rem); + padding-left: calc(2 * 1rem); + } } .entry .entry-content .wp-block-latest-comments .wp-block-latest-comments__comment-meta { diff --git a/style.css b/style.css index 39a75386..bee290fc 100755 --- a/style.css +++ b/style.css @@ -4380,6 +4380,11 @@ body.page .main-navigation { word-break: break-word; } +.entry .entry-content .wp-block-columns.alignfull { + padding-left: 1rem; + padding-right: 1rem; +} + @media only screen and (min-width: 768px) { .entry .entry-content .wp-block-columns .wp-block-column > *:first-child { margin-top: 0; @@ -4393,6 +4398,11 @@ body.page .main-navigation { .entry .entry-content .wp-block-columns[class*='has-'] > *:last-child { margin-right: 0; } + .entry .entry-content .wp-block-columns.alignfull, + .entry .entry-content .wp-block-columns.alignfull .wp-block-column { + padding-left: calc(2 * 1rem); + padding-right: calc(2 * 1rem); + } } .entry .entry-content .wp-block-latest-comments .wp-block-latest-comments__comment-meta {