Twenty Fourteen: 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.




git-svn-id: https://develop.svn.wordpress.org/trunk@55997 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras 2023-06-23 14:38:19 +00:00
parent 97be53bbce
commit 898a98b8a3
2 changed files with 10 additions and 0 deletions

View File

@ -242,6 +242,11 @@ p.has-drop-cap:not(:focus)::first-letter {
vertical-align: bottom;
}
.wp-block-buttons[style*="text-transform"] .wp-block-button__link,
.wp-block-button[style*="text-transform"] .wp-block-button__link {
text-transform: inherit;
}
.wp-block-button__link {
background-color: #24890d;
color: #fff;

View File

@ -424,6 +424,11 @@ p.has-drop-cap:not(:focus)::first-letter {
vertical-align: bottom;
}
.wp-block-buttons[style*="text-transform"] .wp-block-button__link,
.wp-block-button[style*="text-transform"] .wp-block-button__link {
text-transform: inherit;
}
.wp-block-button__link {
background-color: #24890d;
color: #fff;