Skip to content

Commit

Permalink
Merge pull request #174 from WordPress/tt1-blocks/fix-full-alighment-…
Browse files Browse the repository at this point in the history
…styles

TT1 Blocks: Fix frontend full alignment styles
  • Loading branch information
scruffian authored Jan 22, 2021
2 parents 2d1090f + 0cac8e7 commit 54c4f70
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tt1-blocks/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ body {
margin-right: auto;
}

.wp-site-blocks *:not(.wp-block-post-content):not(.alignfull):not(.alignwide):not([class$="__inner-container"]) {
.wp-site-blocks *:not(.wp-block-post-content):not(.alignfull):not(.alignwide):not([class$="__inner-container"]):not(img) {
max-width: var(--wp--custom--responsive--aligndefault-width);
}

Expand All @@ -77,4 +77,5 @@ body {

.wp-site-blocks .alignfull {
margin: 0 calc(0px - var(--wp--custom--spacing--horizontal));
width: calc(100% + (2 - var(--wp--custom--spacing--horizontal)));
}

0 comments on commit 54c4f70

Please sign in to comment.