From eb6b93f327b0cbbdda026c4b75a02e05f03379fa Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 5 Nov 2020 15:02:10 +0000 Subject: [PATCH] Twenty Twenty: Correct heading blocks alignment in editor styles. This explicitly sets top and bottom margins instead of defining all four sides in shorthand notation. Props sabernhardt, Lumne. Fixes #51148. Built from https://develop.svn.wordpress.org/trunk@49507 git-svn-id: http://core.svn.wordpress.org/trunk@49262 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../themes/twentytwenty/assets/css/editor-style-block-rtl.css | 3 ++- .../themes/twentytwenty/assets/css/editor-style-block.css | 3 ++- wp-includes/version.php | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css b/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css index 4ac85f078e..9b9a607b64 100644 --- a/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css +++ b/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css @@ -246,7 +246,8 @@ Inter variable font. Usage: font-weight: 700; letter-spacing: -0.0415625em; line-height: 1.25; - margin: 40px 0 25px; + margin-top: 40px; + margin-bottom: 25px; } .editor-post-title__block .editor-post-title__input, diff --git a/wp-content/themes/twentytwenty/assets/css/editor-style-block.css b/wp-content/themes/twentytwenty/assets/css/editor-style-block.css index 79d922a973..f17d36a977 100644 --- a/wp-content/themes/twentytwenty/assets/css/editor-style-block.css +++ b/wp-content/themes/twentytwenty/assets/css/editor-style-block.css @@ -246,7 +246,8 @@ Inter variable font. Usage: font-weight: 700; letter-spacing: -0.0415625em; line-height: 1.25; - margin: 40px 0 25px; + margin-top: 40px; + margin-bottom: 25px; } .editor-post-title__block .editor-post-title__input, diff --git a/wp-includes/version.php b/wp-includes/version.php index 0e4925b8aa..06480dc9b7 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-beta3-49506'; +$wp_version = '5.6-beta3-49507'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.