From ae532c8ef251110f50507ed5f9e02f926e8f8cc8 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Wed, 14 Sep 2022 20:51:16 +0000 Subject: [PATCH] Twenty Twenty-One: Fix Heading Block alignment when nested in Cover Block. This brings consistency between block editor and front-end rendering. Props mrfoxtalbot, kajalgohel, harshvaishnav, audrasjb. Fixes #56050. Built from https://develop.svn.wordpress.org/trunk@54164 git-svn-id: http://core.svn.wordpress.org/trunk@53723 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentytwentyone/assets/css/style-editor.css | 1 - .../twentytwentyone/assets/sass/05-blocks/cover/_editor.scss | 1 - wp-includes/version.php | 2 +- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/wp-content/themes/twentytwentyone/assets/css/style-editor.css b/wp-content/themes/twentytwentyone/assets/css/style-editor.css index 44b4a17b0e..d6f1bd7819 100644 --- a/wp-content/themes/twentytwentyone/assets/css/style-editor.css +++ b/wp-content/themes/twentytwentyone/assets/css/style-editor.css @@ -764,7 +764,6 @@ a:hover { letter-spacing: var(--heading--letter-spacing-h2); line-height: var(--heading--line-height-h2); padding: 0; - max-width: inherit; text-align: inherit; } diff --git a/wp-content/themes/twentytwentyone/assets/sass/05-blocks/cover/_editor.scss b/wp-content/themes/twentytwentyone/assets/sass/05-blocks/cover/_editor.scss index b0c5b9a5e9..0512b2c220 100644 --- a/wp-content/themes/twentytwentyone/assets/sass/05-blocks/cover/_editor.scss +++ b/wp-content/themes/twentytwentyone/assets/sass/05-blocks/cover/_editor.scss @@ -49,7 +49,6 @@ letter-spacing: var(--heading--letter-spacing-h2); line-height: var(--heading--line-height-h2); padding: 0; - max-width: inherit; // undo opinionated styles text-align: inherit; &.has-text-align-left { diff --git a/wp-includes/version.php b/wp-includes/version.php index 618f50f266..66151b3d7c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-54163'; +$wp_version = '6.1-alpha-54164'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.