From 1e3f4a7c9f6bd129c3da0660bf3ddeb83a4b9a86 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Mon, 17 Jun 2024 18:31:18 +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. Built from https://develop.svn.wordpress.org/trunk@58426 git-svn-id: http://core.svn.wordpress.org/trunk@57875 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- .../themes/twentyseventeen/assets/css/blocks.css | 11 +++++++++++ wp-includes/version.php | 2 +- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/wp-content/themes/twentyseventeen/assets/css/blocks.css b/wp-content/themes/twentyseventeen/assets/css/blocks.css index 464534c273..ba92e94e5a 100644 --- a/wp-content/themes/twentyseventeen/assets/css/blocks.css +++ b/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 --------------------------------------------------------------*/ diff --git a/wp-includes/version.php b/wp-includes/version.php index 3691c5f740..f2f26877dd 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.6-beta2-58425'; +$wp_version = '6.6-beta2-58426'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.