Skip to content
Permalink
Browse files

Widen the blocks in the Gutenberg editor at large screen widths

  • Loading branch information...
cjwillcock committed May 21, 2019
1 parent 42a748d commit 998df0135f068b82dd315371ebdef40d1f6e6e14
Showing with 16 additions and 1 deletion.
  1. +1 −1 CHANGELOG.md
  2. +11 −0 css/editor-style.css
  3. +4 −0 functions.php
@@ -12,6 +12,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Licensed (GPLv2) this work, see [LICENSE.txt](LICENSE.txt) for details
- Added [CONTRIBUTING.md](CONTRIBUTING.md), for clarity.
- hide screen reader text

- slightly wider blocks in Gutenberg editor


@@ -0,0 +1,11 @@
@media (min-width: 1280px){
.wp-block{
max-width: 800px;
}
}

@media (min-width: 1600px){
.wp-block{
max-width: 960px;
}
}
@@ -23,6 +23,10 @@ function dadsbreakfast_after_setup_theme() {
// Make theme available for translation.
load_theme_textdomain( wp_get_theme()->TextDomain );
// Style the Gutenberg Editor
add_theme_support( 'editor-styles' );
add_editor_style( array( 'css/editor-style.css' ) );
// Add default post and comment RSS feed links.
add_theme_support( 'automatic-feed-links' );

0 comments on commit 998df01

Please sign in to comment.
You can’t perform that action at this time.