Twenty Sixteen: 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@55999 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Jb Audras
2023-06-23 14:43:14 +00:00
parent 4a81e71627
commit 92fc4b261c
2 changed files with 10 additions and 0 deletions

View File

@@ -252,6 +252,11 @@ p.has-drop-cap:not(:focus)::first-letter {
text-transform: uppercase;
}
.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: #1a1a1a;
color: #fff;

View File

@@ -560,6 +560,11 @@ Description: Used to style blocks in the editor.
text-transform: uppercase;
}
.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: #1a1a1a;
color: #fff;