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 .

git-svn-id: https://develop.svn.wordpress.org/trunk@58426 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2024-06-17 18:29:24 +00:00
parent 8ef0b8511e
commit 38c61679d9

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