From 75d57e1379ab3ab6cf2dc52ab4a4b2b9579d15cf Mon Sep 17 00:00:00 2001 From: ryelle Date: Mon, 1 Mar 2021 21:58:08 +0000 Subject: [PATCH] Twenty Fifteen & Twenty Sixteen: 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. Props antonlukin, paaljoachim, felipeelia. Fixes #52646. Built from https://develop.svn.wordpress.org/trunk@50465 git-svn-id: http://core.svn.wordpress.org/trunk@50076 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentyfifteen/css/editor-style.css | 2 +- wp-content/themes/twentysixteen/css/editor-style.css | 2 +- wp-includes/version.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-content/themes/twentyfifteen/css/editor-style.css b/wp-content/themes/twentyfifteen/css/editor-style.css index 2995cd1bd9..b2660b1ea8 100644 --- a/wp-content/themes/twentyfifteen/css/editor-style.css +++ b/wp-content/themes/twentyfifteen/css/editor-style.css @@ -28,7 +28,7 @@ body { font-weight: 400; font-size: 17px; line-height: 1.6471; - margin: 20px 40px; + margin: auto 20px; max-width: 660px; vertical-align: baseline; } diff --git a/wp-content/themes/twentysixteen/css/editor-style.css b/wp-content/themes/twentysixteen/css/editor-style.css index 69584798d9..e1b3445e86 100644 --- a/wp-content/themes/twentysixteen/css/editor-style.css +++ b/wp-content/themes/twentysixteen/css/editor-style.css @@ -28,7 +28,7 @@ body { font-size: 16px; font-weight: 400; line-height: 1.75; - margin: 20px 40px; + margin: auto 20px; max-width: 600px; vertical-align: baseline; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 25d6ae0288..3768bb5836 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.8-alpha-50463'; +$wp_version = '5.8-alpha-50465'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.