Twenty Fifteen: Fix Letter Case implementation.

This changeset fixes Letter Case control implementation on the Button block, on both front-end and in the Editor.

Props thakordarshil, pateljaymin, sabernhardt, panchalhimani711, mukesh27.
See #58526.



Built from https://develop.svn.wordpress.org/trunk@55998


git-svn-id: http://core.svn.wordpress.org/trunk@55510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
audrasjb 2023-06-23 14:42:19 +00:00
parent 730c198901
commit 199961962a
3 changed files with 11 additions and 1 deletions

View File

@ -395,6 +395,11 @@ p.has-drop-cap:not(:focus)::first-letter {
vertical-align: baseline; vertical-align: baseline;
} }
.wp-block-buttons[style*="text-transform"] .wp-block-button__link,
.wp-block-button[style*="text-transform"] .wp-block-button__link {
text-transform: inherit;
}
.is-style-outline .wp-block-button__link { .is-style-outline .wp-block-button__link {
border: 2px solid; border: 2px solid;
} }

View File

@ -759,6 +759,11 @@ p.has-drop-cap:not(:focus)::first-letter {
color: #fff; color: #fff;
} }
.wp-block-buttons[style*="text-transform"] .wp-block-button__link,
.wp-block-button[style*="text-transform"] .wp-block-button__link {
text-transform: inherit;
}
.is-style-outline .wp-block-button__link { .is-style-outline .wp-block-button__link {
color: #333; color: #333;
} }

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.3-alpha-55997'; $wp_version = '6.3-alpha-55998';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.