Skip to content

Commit

Permalink
Twenty Seventeen: Correct image height for the Site Logo block.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
SergeyBiryukov committed Jun 17, 2024
1 parent 8ef0b85 commit 38c6167
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/wp-content/themes/twentyseventeen/assets/css/blocks.css
Original file line number Diff line number Diff line change
Expand Up @@ -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
--------------------------------------------------------------*/
Expand Down

0 comments on commit 38c6167

Please sign in to comment.