Skip to content

Commit

Permalink
Merge pull request #794 from Automattic/fix/issue761
Browse files Browse the repository at this point in the history
Fix centred align block for Sophisticated and Professional Business
  • Loading branch information
allancole authored May 10, 2019
2 parents 014e43b + 6dd193f commit 867bd8c
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 37 deletions.
5 changes: 0 additions & 5 deletions professional-business/sass/blocks/_blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,6 @@
margin-right: auto;

@include postContentMaxWidth();

@include media(tablet) {
margin-left: 0;
margin-right: 0;
}
}
}

Expand Down
8 changes: 0 additions & 8 deletions professional-business/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3459,14 +3459,6 @@ body.page .main-navigation {
}
}

@media only screen and (min-width: 768px) {
.entry .entry-content > *.aligncenter,
.entry .entry-summary > *.aligncenter {
margin-left: 0;
margin-right: 0;
}
}

/*
* Unset nested content selector styles
* - Prevents layout styles from cascading too deeply
Expand Down
6 changes: 0 additions & 6 deletions sophisticated-business/sass/blocks/_blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,6 @@
margin-right: auto;

@include postContentMaxWidth();

@include media(tablet) {
margin-left: 0;
margin-right: 0;
}
}
}

Expand Down Expand Up @@ -528,7 +523,6 @@
@include postContentMaxWidth();

@include media(tablet) {
margin: 0;
width: $size__site-tablet-content;

img {
Expand Down
9 changes: 0 additions & 9 deletions sophisticated-business/style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -3413,14 +3413,6 @@ body.page .main-navigation {
}
}

@media only screen and (min-width: 768px) {
.entry .entry-content > *.aligncenter,
.entry .entry-summary > *.aligncenter {
margin-right: 0;
margin-left: 0;
}
}

/*
* Unset nested content selector styles
* - Prevents layout styles from cascading too deeply
Expand Down Expand Up @@ -3865,7 +3857,6 @@ body.page .main-navigation {

@media only screen and (min-width: 768px) {
.entry .entry-content .wp-block-image .aligncenter {
margin: 0;
width: calc(8 * (100vw / 12) - 28px);
}
.entry .entry-content .wp-block-image .aligncenter img {
Expand Down
9 changes: 0 additions & 9 deletions sophisticated-business/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3425,14 +3425,6 @@ body.page .main-navigation {
}
}

@media only screen and (min-width: 768px) {
.entry .entry-content > *.aligncenter,
.entry .entry-summary > *.aligncenter {
margin-left: 0;
margin-right: 0;
}
}

/*
* Unset nested content selector styles
* - Prevents layout styles from cascading too deeply
Expand Down Expand Up @@ -3873,7 +3865,6 @@ body.page .main-navigation {

@media only screen and (min-width: 768px) {
.entry .entry-content .wp-block-image .aligncenter {
margin: 0;
width: calc(8 * (100vw / 12) - 28px);
}
.entry .entry-content .wp-block-image .aligncenter img {
Expand Down

0 comments on commit 867bd8c

Please sign in to comment.