From 3e9fd8235f23f3ee167f9e0a36cbdf00e8c28014 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Wed, 14 Sep 2022 19:41:54 +0000 Subject: [PATCH] Twenty Twenty: Fix Heading Block alignment when nested in Cover Block. This brings consistency between block editor and front-end rendering. Props mrfoxtalbot, tahmidulkarim, NomNom99, audrasjb. Fixes #56049. git-svn-id: https://develop.svn.wordpress.org/trunk@54163 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, 2 insertions(+), 4 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 ef0eb614fe..d7e70ad28c 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 @@ -765,8 +765,7 @@ hr.wp-block-separator.is-style-dots::before { .wp-block-cover-image .wp-block-cover-text, .wp-block-cover-image h2, .wp-block-cover .wp-block-cover-image-text, -.wp-block-cover .wp-block-cover-text, -.wp-block-cover h2 { +.wp-block-cover .wp-block-cover-text { max-width: 100%; } 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 eb8e2abf5d..ad793a8ae0 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 @@ -769,8 +769,7 @@ hr.wp-block-separator.is-style-dots::before { .wp-block-cover-image .wp-block-cover-text, .wp-block-cover-image h2, .wp-block-cover .wp-block-cover-image-text, -.wp-block-cover .wp-block-cover-text, -.wp-block-cover h2 { +.wp-block-cover .wp-block-cover-text { max-width: 100%; }