From 31b37a5eb33810b1169a2e71070f984c71f5f94e Mon Sep 17 00:00:00 2001 From: Tammie Lister Date: Mon, 27 May 2024 10:46:13 +0000 Subject: [PATCH] Twenty Twenty: Fixes button link not inheriting custom letter spacing. The button block link did not inherit the custom letter spacing. This resolves that issue. Props nidhidhandhukiya, sabernhardt, wesatintellitonic, pooja1210, shailu25. Fixes #58024. Built from https://develop.svn.wordpress.org/trunk@58205 git-svn-id: http://core.svn.wordpress.org/trunk@57668 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../twentytwenty/assets/css/editor-style-block-rtl.css | 5 +++++ .../themes/twentytwenty/assets/css/editor-style-block.css | 5 +++++ wp-content/themes/twentytwenty/style-rtl.css | 5 +++++ wp-content/themes/twentytwenty/style.css | 5 +++++ wp-includes/version.php | 2 +- 5 files changed, 21 insertions(+), 1 deletion(-) 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 627242b565..d4f3f02c8b 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 @@ -938,6 +938,11 @@ hr.wp-block-separator.is-style-dots::before { text-transform: inherit; } +.wp-block-buttons[style*="letter-spacing"] .wp-block-button__link, +.wp-block-button[style*="letter-spacing"] .wp-block-button__link { + letter-spacing: inherit; +} + .editor-styles-wrapper .wp-block-button .wp-block-button__link.mce-content-body { line-height: 1.1; } 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 25fe0f2057..8699e3403f 100644 --- a/wp-content/themes/twentytwenty/assets/css/editor-style-block.css +++ b/wp-content/themes/twentytwenty/assets/css/editor-style-block.css @@ -942,6 +942,11 @@ hr.wp-block-separator.is-style-dots::before { text-transform: inherit; } +.wp-block-buttons[style*="letter-spacing"] .wp-block-button__link, +.wp-block-button[style*="letter-spacing"] .wp-block-button__link { + letter-spacing: inherit; +} + .editor-styles-wrapper .wp-block-button .wp-block-button__link.mce-content-body { line-height: 1.1; } diff --git a/wp-content/themes/twentytwenty/style-rtl.css b/wp-content/themes/twentytwenty/style-rtl.css index 6f35650915..6bb7052119 100644 --- a/wp-content/themes/twentytwenty/style-rtl.css +++ b/wp-content/themes/twentytwenty/style-rtl.css @@ -3033,6 +3033,11 @@ ol.wp-block-latest-comments { text-transform: inherit; } +.wp-block-buttons[style*="letter-spacing"] .wp-block-button__link, +.wp-block-button[style*="letter-spacing"] .wp-block-button__link { + letter-spacing: inherit; +} + /* Block: Columns ---------------------------- */ .wp-block-columns.alignfull, diff --git a/wp-content/themes/twentytwenty/style.css b/wp-content/themes/twentytwenty/style.css index 0e98700787..de5ba3bf75 100644 --- a/wp-content/themes/twentytwenty/style.css +++ b/wp-content/themes/twentytwenty/style.css @@ -3053,6 +3053,11 @@ ol.wp-block-latest-comments { text-transform: inherit; } +.wp-block-buttons[style*="letter-spacing"] .wp-block-button__link, +.wp-block-button[style*="letter-spacing"] .wp-block-button__link { + letter-spacing: inherit; +} + /* Block: Columns ---------------------------- */ .wp-block-columns.alignfull, diff --git a/wp-includes/version.php b/wp-includes/version.php index 84140eaa35..4b77420c46 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-alpha-58204'; +$wp_version = '6.6-alpha-58205'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.