Make WordPress Core


Ignore:
Timestamp:
07/11/2023 07:22:17 AM (15 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/home.html

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