Skip to content

Commit

Permalink
Moved fix code to bottom of file and added descriptive comment.
Browse files Browse the repository at this point in the history
  • Loading branch information
ramram-mf committed Jun 6, 2024
1 parent f78d50b commit 9d4bd44
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions source/sass/wagtail/blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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);
}
}
}

0 comments on commit 9d4bd44

Please sign in to comment.