From a8f702f4c5d99fd39ab7c49a1551d18a88cd39a3 Mon Sep 17 00:00:00 2001 From: Jb Audras Date: Wed, 14 Sep 2022 09:29:15 +0000 Subject: [PATCH] Twenty Fifteen: Ensure border-bottom styles are applied to the Button Block. This issue was related to the `:where()` selector, which also affected Twenty Twenty (see #55824). Props umesh84, sabernhardt. Fixes #55006. See #55824. git-svn-id: https://develop.svn.wordpress.org/trunk@54151 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-content/themes/twentyfifteen/css/blocks.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/wp-content/themes/twentyfifteen/css/blocks.css b/src/wp-content/themes/twentyfifteen/css/blocks.css index e5b3af47b8..be2d8ffef6 100644 --- a/src/wp-content/themes/twentyfifteen/css/blocks.css +++ b/src/wp-content/themes/twentyfifteen/css/blocks.css @@ -395,6 +395,10 @@ p.has-drop-cap:not(:focus)::first-letter { vertical-align: baseline; } +.is-style-outline .wp-block-button__link { + border: 2px solid; +} + .entry-content .wp-block-button:not(.is-style-outline) .wp-block-button__link { border: 0; }