Make WordPress Core

Changeset 58426


Ignore:
Timestamp:
06/17/2024 06:29:24 PM (4 months ago)
Author:
SergeyBiryukov
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentyseventeen/assets/css/blocks.css

    r58367 r58426  
    370370}
    371371
     372/* Site Logo */
     373
     374:root .entry-content .wp-block-site-logo a.custom-logo-link {
     375    -webkit-box-shadow: none;
     376    box-shadow: none;
     377}
     378
     379.entry-content .wp-block-site-logo img {
     380    max-height: none;
     381}
     382
    372383/*--------------------------------------------------------------
    3733846.0 Blocks - Colors
Note: See TracChangeset for help on using the changeset viewer.