From d6c86f944fa115b64d3de84d581a9452004cf2e2 Mon Sep 17 00:00:00 2001 From: Tammie Lister Date: Wed, 13 Sep 2023 15:40:20 +0000 Subject: [PATCH] Twenty-Twenty One: Fixes quotation mark being outside with background. The quotation marks were outside when the background color was applied. Props nidhidhandhukiya, sabernhardt, shailu25, harshgajipara, poena, huzaifaalmesbah. Fixes #57377. Built from https://develop.svn.wordpress.org/trunk@56567 git-svn-id: http://core.svn.wordpress.org/trunk@56079 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-content/themes/twentytwentyone/assets/css/ie-editor.css | 3 ++- wp-content/themes/twentytwentyone/assets/css/style-editor.css | 3 ++- .../twentytwentyone/assets/sass/05-blocks/quote/_editor.scss | 3 ++- wp-includes/version.php | 2 +- 4 files changed, 7 insertions(+), 4 deletions(-) diff --git a/wp-content/themes/twentytwentyone/assets/css/ie-editor.css b/wp-content/themes/twentytwentyone/assets/css/ie-editor.css index 6aecd8de6f..bd2b26dc97 100644 --- a/wp-content/themes/twentytwentyone/assets/css/ie-editor.css +++ b/wp-content/themes/twentytwentyone/assets/css/ie-editor.css @@ -1624,6 +1624,7 @@ pre.wp-block-preformatted { position: relative; border-left: none; margin: 30px auto 30px 25px; + padding-left: 1em; } .wp-block-quote p { @@ -1642,7 +1643,7 @@ pre.wp-block-preformatted { content: "“"; font-size: 1.25rem; line-height: 1.7; - left: -12px; + left: 8px; } .wp-block-quote .wp-block-quote__citation { diff --git a/wp-content/themes/twentytwentyone/assets/css/style-editor.css b/wp-content/themes/twentytwentyone/assets/css/style-editor.css index 676e1981e8..8d37165af1 100644 --- a/wp-content/themes/twentytwentyone/assets/css/style-editor.css +++ b/wp-content/themes/twentytwentyone/assets/css/style-editor.css @@ -1527,6 +1527,7 @@ pre.wp-block-preformatted { position: relative; border-left: none; margin: var(--global--spacing-vertical) auto var(--global--spacing-vertical) var(--global--spacing-horizontal); + padding-left: 1em; } .wp-block-quote p { @@ -1545,7 +1546,7 @@ pre.wp-block-preformatted { content: "“"; font-size: var(--quote--font-size); line-height: var(--quote--line-height); - left: calc(-0.5 * var(--global--spacing-horizontal)); + left: 8px; } .wp-block-quote .wp-block-quote__citation { diff --git a/wp-content/themes/twentytwentyone/assets/sass/05-blocks/quote/_editor.scss b/wp-content/themes/twentytwentyone/assets/sass/05-blocks/quote/_editor.scss index 0d36ff1fcd..91eabc6400 100644 --- a/wp-content/themes/twentytwentyone/assets/sass/05-blocks/quote/_editor.scss +++ b/wp-content/themes/twentytwentyone/assets/sass/05-blocks/quote/_editor.scss @@ -2,6 +2,7 @@ position: relative; border-left: none; margin: var(--global--spacing-vertical) auto var(--global--spacing-vertical) var(--global--spacing-horizontal); + padding-left: 1em; p { font-family: var(--quote--font-family); @@ -19,7 +20,7 @@ content: "\201C"; font-size: var(--quote--font-size); line-height: var(--quote--line-height); - left: calc(-0.5 * var(--global--spacing-horizontal)); + left: 8px; } .wp-block-quote__citation { diff --git a/wp-includes/version.php b/wp-includes/version.php index 9ba4c26aa1..637dc346e2 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.4-alpha-56566'; +$wp_version = '6.4-alpha-56567'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.