mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-05-29 15:44:27 +00:00
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:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user