From f9cc35ebad82753e9c86de322ea5c76a9001c7e2 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 15 Mar 2021 13:26:06 +0000 Subject: [PATCH] Twenty Seventeen: Remove extra space around post editor. The editor uses the full height of its container, so the added margins cause the visual editor to break out of the container. This removes the top & bottom margins, and makes the left & right margins consistent with the meta box area. Follow-up to [50465]. Props joseeyoast, audrasjb. Fixes #52816. Built from https://develop.svn.wordpress.org/trunk@50534 git-svn-id: http://core.svn.wordpress.org/trunk@50147 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyseventeen/assets/css/editor-style.css | 2 +- wp-includes/version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-content/themes/twentyseventeen/assets/css/editor-style.css b/wp-content/themes/twentyseventeen/assets/css/editor-style.css index 00a412d4f6..749af42c10 100644 --- a/wp-content/themes/twentyseventeen/assets/css/editor-style.css +++ b/wp-content/themes/twentyseventeen/assets/css/editor-style.css @@ -24,7 +24,7 @@ Description: Used to style the TinyMCE editor. body { background-color: #fff; color: #333; - margin: 20px 40px; + margin: auto 20px; max-width: 580px; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 4c9edfe7b3..8db4f44d00 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-alpha-50533'; +$wp_version = '5.8-alpha-50534'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.