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.




git-svn-id: https://develop.svn.wordpress.org/trunk@55998 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras
2023-06-23 14:40:31 +00:00
parent 898a98b8a3
commit 4a81e71627
2 changed files with 10 additions and 0 deletions
@@ -395,6 +395,11 @@ p.has-drop-cap:not(:focus)::first-letter {
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 {
border: 2px solid;
}
@@ -759,6 +759,11 @@ p.has-drop-cap:not(:focus)::first-letter {
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 {
color: #333;
}