From 4a81e71627196a9390bbb5d3eaffa9c3e40999f1 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Fri, 23 Jun 2023 14:40:31 +0000 Subject: [PATCH] Twenty Fifteen: 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@55998 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyfifteen/css/blocks.css | 5 +++++ src/wp-content/themes/twentyfifteen/css/editor-blocks.css | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/src/wp-content/themes/twentyfifteen/css/blocks.css b/src/wp-content/themes/twentyfifteen/css/blocks.css index df5b7515e4..5967ea52e9 100644 --- a/src/wp-content/themes/twentyfifteen/css/blocks.css +++ b/src/wp-content/themes/twentyfifteen/css/blocks.css @@ -395,6 +395,11 @@ p.has-drop-cap:not(:focus)::first-letter { vertical-align: baseline; } +.wp-block-buttons[style*="text-transform"] .wp-block-button__link, +.wp-block-button[style*="text-transform"] .wp-block-button__link { + text-transform: inherit; +} + .is-style-outline .wp-block-button__link { border: 2px solid; } diff --git a/src/wp-content/themes/twentyfifteen/css/editor-blocks.css b/src/wp-content/themes/twentyfifteen/css/editor-blocks.css index 860ca9c162..71afab38b7 100644 --- a/src/wp-content/themes/twentyfifteen/css/editor-blocks.css +++ b/src/wp-content/themes/twentyfifteen/css/editor-blocks.css @@ -759,6 +759,11 @@ p.has-drop-cap:not(:focus)::first-letter { color: #fff; } +.wp-block-buttons[style*="text-transform"] .wp-block-button__link, +.wp-block-button[style*="text-transform"] .wp-block-button__link { + text-transform: inherit; +} + .is-style-outline .wp-block-button__link { color: #333; }