mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 01:00:04 +00:00
Twenty Twenty: 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@56000 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -946,6 +946,11 @@ hr.wp-block-separator.is-style-dots::before {
|
||||
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;
|
||||
}
|
||||
|
||||
.editor-styles-wrapper .wp-block-button .wp-block-button__link.mce-content-body {
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
@@ -950,6 +950,11 @@ hr.wp-block-separator.is-style-dots::before {
|
||||
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;
|
||||
}
|
||||
|
||||
.editor-styles-wrapper .wp-block-button .wp-block-button__link.mce-content-body {
|
||||
line-height: 1.1;
|
||||
}
|
||||
|
||||
@@ -3023,6 +3023,11 @@ h2.entry-title {
|
||||
padding: calc(1.1em - 0.2rem) calc(1.44em - 0.2rem);
|
||||
}
|
||||
|
||||
.wp-block-buttons[style*="text-transform"] .wp-block-button__link,
|
||||
.wp-block-button[style*="text-transform"] .wp-block-button__link {
|
||||
text-transform: inherit;
|
||||
}
|
||||
|
||||
/* Block: Columns ---------------------------- */
|
||||
|
||||
.wp-block-columns.alignfull,
|
||||
|
||||
@@ -3043,6 +3043,11 @@ h2.entry-title {
|
||||
padding: calc(1.1em - 0.2rem) calc(1.44em - 0.2rem);
|
||||
}
|
||||
|
||||
.wp-block-buttons[style*="text-transform"] .wp-block-button__link,
|
||||
.wp-block-button[style*="text-transform"] .wp-block-button__link {
|
||||
text-transform: inherit;
|
||||
}
|
||||
|
||||
/* Block: Columns ---------------------------- */
|
||||
|
||||
.wp-block-columns.alignfull,
|
||||
|
||||
Reference in New Issue
Block a user