Skip to content
This repository has been archived by the owner on Jan 15, 2019. It is now read-only.

Commit

Permalink
Merge pull request #389 from WordPress/update/alignfull-margins-on-fr…
Browse files Browse the repository at this point in the history
…ontend

Adjust alignfull margins to match the editor.
  • Loading branch information
allancole authored Oct 29, 2018
2 parents fdf458b + 9be8cc3 commit 44bc69f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions sass/blocks/_blocks.scss
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@
margin-right: auto;

@include media(tablet) {
margin-left: calc(1 * (100vw / 12));
margin-right: calc(1 * (100vw / 12));
max-width: calc(10 * (100vw / 12));
margin-left: calc(2 * (100vw / 12));
margin-right: calc(2 * (100vw / 12));
max-width: calc(8 * (100vw / 12));
}
}

Expand Down
6 changes: 3 additions & 3 deletions style-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -2719,9 +2719,9 @@ body.page .main-navigation {
@media only screen and (min-width: 768px) {
.entry-content > *.alignwide,
.entry-summary > *.alignwide {
margin-right: calc(1 * (100vw / 12));
margin-left: calc(1 * (100vw / 12));
max-width: calc(10 * (100vw / 12));
margin-right: calc(2 * (100vw / 12));
margin-left: calc(2 * (100vw / 12));
max-width: calc(8 * (100vw / 12));
}
}

Expand Down
6 changes: 3 additions & 3 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -2719,9 +2719,9 @@ body.page .main-navigation {
@media only screen and (min-width: 768px) {
.entry-content > *.alignwide,
.entry-summary > *.alignwide {
margin-left: calc(1 * (100vw / 12));
margin-right: calc(1 * (100vw / 12));
max-width: calc(10 * (100vw / 12));
margin-left: calc(2 * (100vw / 12));
margin-right: calc(2 * (100vw / 12));
max-width: calc(8 * (100vw / 12));
}
}

Expand Down

0 comments on commit 44bc69f

Please sign in to comment.