From 691408de7f0fafd93a10f5d04752afd0be5d3a14 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 5 Nov 2020 15:00:18 +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. git-svn-id: https://develop.svn.wordpress.org/trunk@49507 602fd350-edb4-49c9-b593-d223f7449a82 --- .../themes/twentytwenty/assets/css/editor-style-block-rtl.css | 3 ++- .../themes/twentytwenty/assets/css/editor-style-block.css | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css index 4ac85f078e..9b9a607b64 100644 --- a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block-rtl.css +++ b/src/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/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css b/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css index 79d922a973..f17d36a977 100644 --- a/src/wp-content/themes/twentytwenty/assets/css/editor-style-block.css +++ b/src/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,