From 38c61679d993b1281e8b441aa31f4d8c8ed319db Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 17 Jun 2024 18:29:24 +0000 Subject: [PATCH] Twenty Seventeen: Correct image height for the Site Logo block. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Includes removing box shadow when the “Link image to home” setting is enabled. Follow-up to [43800]. Props sabernhardt, nkeller15, karmatosed, hmbashar, rajinsharwar, huzaifaalmesbah, shailu25. Fixes #58474. git-svn-id: https://develop.svn.wordpress.org/trunk@58426 602fd350-edb4-49c9-b593-d223f7449a82 --- .../themes/twentyseventeen/assets/css/blocks.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/wp-content/themes/twentyseventeen/assets/css/blocks.css b/src/wp-content/themes/twentyseventeen/assets/css/blocks.css index 464534c273715..ba92e94e5ad7a 100644 --- a/src/wp-content/themes/twentyseventeen/assets/css/blocks.css +++ b/src/wp-content/themes/twentyseventeen/assets/css/blocks.css @@ -369,6 +369,17 @@ p.has-drop-cap:not(:focus)::first-letter { border-top: none; } +/* Site Logo */ + +:root .entry-content .wp-block-site-logo a.custom-logo-link { + -webkit-box-shadow: none; + box-shadow: none; +} + +.entry-content .wp-block-site-logo img { + max-height: none; +} + /*-------------------------------------------------------------- 6.0 Blocks - Colors --------------------------------------------------------------*/