From 898a98b8a36e1a5160eab0b4ea97d6a6418eae76 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Fri, 23 Jun 2023 14:38:19 +0000 Subject: [PATCH] Twenty Fourteen: 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@55997 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyfourteen/css/blocks.css | 5 +++++ src/wp-content/themes/twentyfourteen/css/editor-blocks.css | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/wp-content/themes/twentyfourteen/css/blocks.css b/src/wp-content/themes/twentyfourteen/css/blocks.css index d1cdb5e4cb..e45818241d 100644 --- a/src/wp-content/themes/twentyfourteen/css/blocks.css +++ b/src/wp-content/themes/twentyfourteen/css/blocks.css @@ -242,6 +242,11 @@ p.has-drop-cap:not(:focus)::first-letter { vertical-align: bottom; } +.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-color: #24890d; color: #fff; diff --git a/src/wp-content/themes/twentyfourteen/css/editor-blocks.css b/src/wp-content/themes/twentyfourteen/css/editor-blocks.css index 8cf3c0e5e7..39f55255b1 100644 --- a/src/wp-content/themes/twentyfourteen/css/editor-blocks.css +++ b/src/wp-content/themes/twentyfourteen/css/editor-blocks.css @@ -424,6 +424,11 @@ p.has-drop-cap:not(:focus)::first-letter { vertical-align: bottom; } +.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-color: #24890d; color: #fff;