diff --git a/source/sass/wagtail/blocks.scss b/source/sass/wagtail/blocks.scss index d17b675f33c..66fb4403585 100644 --- a/source/sass/wagtail/blocks.scss +++ b/source/sass/wagtail/blocks.scss @@ -10,14 +10,6 @@ @extend .full-width; } -.tw-container.image_text-block { - .streamfield-content { - .tw-row { - margin-right: calc(-1rem + 1px); - } - } -} - .primary-page-content { &.wide { .streamfield-content { @@ -105,3 +97,12 @@ .share-button-blog-title-container { margin-bottom: -2em; } + +// Fixes horizontal overflow for Image Text blocks +.tw-container.image_text-block { + .streamfield-content { + .tw-row { + margin-right: calc(-1rem + 1px); + } + } +}