Twenty Seventeen: Correct image height for the Site Logo block.

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
This commit is contained in:
Sergey Biryukov 2024-06-17 18:31:18 +00:00
parent f8b436bb20
commit 1e3f4a7c9f
2 changed files with 12 additions and 1 deletions

View File

@ -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
--------------------------------------------------------------*/

View File

@ -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.