Created
December 18, 2018 21:49
-
-
Save alexstandiford/e82af54d4878e3cb9e255b0218fa8872 to your computer and use it in GitHub Desktop.
Bookmarklet to make the Gutenberg editor wider
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function(){ | |
style = document.createElement('style'); | |
style.classList.add('outline-everything-with-red'); | |
style.appendChild(document.createTextNode('@media screen and ( min-width: 768px ) { | |
.edit-post-visual-editor .editor-post-title, | |
.edit-post-visual-editor .editor-block-list__block { | |
max-width: 1100px; | |
} | |
} | |
.edit-post-visual-editor .editor-block-list__block[data-align="wide"] { | |
max-width: 1300px; | |
}')); | |
document.head.appendChild(style); | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment