From e05a38f0a5ac5e14cba565d67af95929c5e14db9 Mon Sep 17 00:00:00 2001 From: audrasjb Date: Thu, 2 Jun 2022 15:10:10 +0000 Subject: [PATCH] Twenty-Twenty: Alignment fix on Separator Block editor styles. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This changeset fixes an issue with some CSS rules of the "Wide Line" variation of the Separator Block’s editor stylesheet, for small, medium and large screens. Props umesh84, iamjaydip, mukesh27, larrach. Fixes #55896. Built from https://develop.svn.wordpress.org/trunk@53459 git-svn-id: http://core.svn.wordpress.org/trunk@53048 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../assets/css/editor-style-block-rtl.css | 12 ++++++------ .../twentytwenty/assets/css/editor-style-block.css | 12 ++++++------ wp-includes/version.php | 2 +- 3 files changed, 13 insertions(+), 13 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 c3261fd203..e27e4afba8 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 @@ -1392,8 +1392,8 @@ hr.wp-block-separator.is-style-dots::before { } hr.wp-block-separator.is-style-wide { - margin-right: -70px; - margin-left: -70px; + margin-right: auto; + margin-left: auto; } @@ -1430,8 +1430,8 @@ hr.wp-block-separator.is-style-dots::before { /* BLOCK: SEPARATOR */ hr.wp-block-separator.is-style-wide { - margin-right: -150px; - margin-left: -150px; + margin-right: auto; + margin-left: auto; } } @@ -1465,8 +1465,8 @@ hr.wp-block-separator.is-style-dots::before { /* BLOCK: SEPARATOR */ hr.wp-block-separator.is-style-wide { - margin-right: -200px; - margin-left: -200px; + margin-right: auto; + margin-left: auto; } 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 11a3a33f50..0d930c8b79 100644 --- a/wp-content/themes/twentytwenty/assets/css/editor-style-block.css +++ b/wp-content/themes/twentytwenty/assets/css/editor-style-block.css @@ -1392,8 +1392,8 @@ hr.wp-block-separator.is-style-dots::before { } hr.wp-block-separator.is-style-wide { - margin-left: -70px; - margin-right: -70px; + margin-left: auto; + margin-right: auto; } @@ -1430,8 +1430,8 @@ hr.wp-block-separator.is-style-dots::before { /* BLOCK: SEPARATOR */ hr.wp-block-separator.is-style-wide { - margin-left: -150px; - margin-right: -150px; + margin-left: auto; + margin-right: auto; } } @@ -1465,8 +1465,8 @@ hr.wp-block-separator.is-style-dots::before { /* BLOCK: SEPARATOR */ hr.wp-block-separator.is-style-wide { - margin-left: -200px; - margin-right: -200px; + margin-left: auto; + margin-right: auto; } diff --git a/wp-includes/version.php b/wp-includes/version.php index 8b99af0877..8b7553eccd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.1-alpha-53458'; +$wp_version = '6.1-alpha-53459'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.