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:
Jb Audras
2023-06-23 14:51:44 +00:00
parent 92fc4b261c
commit d51e1e66d0
4 changed files with 20 additions and 0 deletions

View File

@@ -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;
}

View File

@@ -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;
}

View File

@@ -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,

View File

@@ -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,