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
This commit is contained in:
Tammie Lister 2024-05-27 10:46:13 +00:00
parent 4c8cceb51a
commit 31b37a5eb3
5 changed files with 21 additions and 1 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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,

View File

@ -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,

View File

@ -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.