Make WordPress Core


Ignore:
Timestamp:
07/11/2023 07:22:17 AM (12 months ago)
Author:
isabel_brison
Message:

Bundled Theme: fix height of featured images in Twenty Twenty Three.

Fixes max height of the featured images in the Archive, Home, Index, and Search templates to prevent expanding iframe bug.

Props mikachan, ramonopoly.
Fixes #58766.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-content/themes/twentytwentythree/templates/search.html

    r54467 r56207  
    88    <div class="wp-block-query alignwide">
    99        <!-- wp:post-template {"align":"wide"} -->
    10             <!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"max(15vw, 30vh)","align":"wide"} /-->
     10            <!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"clamp(15vw, 30vh, 400px)","align":"wide"} /-->
    1111            <!-- wp:post-title {"isLink":true} /-->
    1212            <!-- wp:post-excerpt /-->
Note: See TracChangeset for help on using the changeset viewer.