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/index.html

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