Skip to content
This repository has been archived by the owner on May 28, 2022. It is now read-only.

Commit

Permalink
Removed alignment overrides for editor.
Browse files Browse the repository at this point in the history
  • Loading branch information
peiche committed Nov 1, 2021
1 parent f1d56a4 commit 6967fe5
Showing 1 changed file with 1 addition and 24 deletions.
25 changes: 1 addition & 24 deletions resources/scss/blocks/editor/_alignment.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,30 +6,7 @@
/// @link https://boldoak.design/work/garrick
////

.alignwide:not(.alignfull),
.alignfull,
[data-align="wide"],
[data-align="full"] {
.alignwide {
margin-left: auto;
margin-right: auto;
}

.wp-block.alignwide,
.wp-block[data-align="wide"],
.block-editor-block-list__block[data-align="wide"] {
max-width: var(--max-width-md);

.wp-block {
max-width: var(--max-width-md);
}
}

.wp-block.alignfull,
.wp-block[data-align="full"],
.block-editor-block-list__block[data-align="full"] {
max-width: 100vw;

.wp-block {
max-width: 100vw;
}
}

0 comments on commit 6967fe5

Please sign in to comment.