From 07bc94cc1104a3a6228dcc2c8d474a1e174597b9 Mon Sep 17 00:00:00 2001 From: Ian Belanger Date: Thu, 16 Apr 2020 14:54:37 +0000 Subject: [PATCH] Bundled Themes: Twenty Nineteen editor style interferes with navigation menu block. Update editor styles to prepare for changes coming to the editor in 5.5. Currently the issue is only present when using the latest version of the Gutenberg plugin. Props kjellr, Joen. Fixes #49613. git-svn-id: https://develop.svn.wordpress.org/trunk@47587 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentynineteen/style-editor.css | 2 +- src/wp-content/themes/twentynineteen/style-editor.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/wp-content/themes/twentynineteen/style-editor.css b/src/wp-content/themes/twentynineteen/style-editor.css index 0dbf12385a..edc4faa3dc 100644 --- a/src/wp-content/themes/twentynineteen/style-editor.css +++ b/src/wp-content/themes/twentynineteen/style-editor.css @@ -598,7 +598,7 @@ body .wp-block[data-align="full"] { } .wp-block .wp-block { - width: 100%; + width: initial; } /** === Base Typography === */ diff --git a/src/wp-content/themes/twentynineteen/style-editor.scss b/src/wp-content/themes/twentynineteen/style-editor.scss index b5c422fa72..921d0880de 100644 --- a/src/wp-content/themes/twentynineteen/style-editor.scss +++ b/src/wp-content/themes/twentynineteen/style-editor.scss @@ -62,7 +62,7 @@ body { // Only the top level blocks need specific widths, therefore override for every nested block. .wp-block { - width: 100%; + width: initial; } }