Instantly share code, notes, and snippets.

@billerickson /gutenberg.scss Secret
Last active Jan 9, 2019

Embed
What would you like to do?
/* Post title width */
.editor-post-title__block.wp-block {
max-width: $content-width;
/* Post title styling */
.editor-post-title__input {
}
}
/* Main column width */
.wp-block {
max-width: $content-width;
/* Wide column width */
&[data-align="wide"] {
max-width: none;
@include media(">=medium") {
max-width: none;
margin-left: calc(25vw - 25%);
margin-right: calc(25vw - 25%);
}
}
/* Full column width */
&[data-align="full"] {
max-width: none;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment