mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
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. git-svn-id: https://develop.svn.wordpress.org/trunk@56207 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
c21b63c0d0
commit
4e864a1ded
@ -7,7 +7,7 @@
|
||||
<!-- wp:query {"query":{"perPage":6,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"displayLayout":{"type":"flex","columns":3},"align":"wide","layout":{"type":"default"}} -->
|
||||
<div class="wp-block-query alignwide">
|
||||
<!-- wp:post-template {"align":"wide"} -->
|
||||
<!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"max(15vw, 30vh)","align":"wide"} /-->
|
||||
<!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"clamp(15vw, 30vh, 400px)","align":"wide"} /-->
|
||||
<!-- wp:post-title {"isLink":true} /-->
|
||||
<!-- wp:post-excerpt /-->
|
||||
<!-- wp:post-date {"isLink":true} /-->
|
||||
|
||||
@ -9,7 +9,7 @@
|
||||
<!-- wp:query {"query":{"perPage":3,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"displayLayout":{"type":"flex","columns":3},"align":"wide","layout":{"type":"constrained"}} -->
|
||||
<div class="wp-block-query alignwide">
|
||||
<!-- wp:post-template {"align":"wide"} -->
|
||||
<!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"max(15vw, 30vh)","align":"wide"} /-->
|
||||
<!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"clamp(15vw, 30vh, 400px)","align":"wide"} /-->
|
||||
<!-- wp:post-title {"isLink":true} /-->
|
||||
<!-- wp:post-excerpt /-->
|
||||
<!-- wp:post-date {"isLink":true} /-->
|
||||
|
||||
@ -5,7 +5,7 @@
|
||||
<!-- wp:query {"query":{"perPage":10,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true,"taxQuery":null,"parents":[]},"displayLayout":{"type":"flex","columns":3},"align":"wide","layout":{"type":"default"}} -->
|
||||
<div class="wp-block-query alignwide">
|
||||
<!-- wp:post-template {"align":"wide"} -->
|
||||
<!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"max(15vw, 30vh)","align":"wide"} /-->
|
||||
<!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"clamp(15vw, 30vh, 400px)","align":"wide"} /-->
|
||||
<!-- wp:post-title {"isLink":true,"align":"wide"} /-->
|
||||
<!-- wp:post-excerpt /-->
|
||||
<!-- wp:post-date {"isLink":true} /-->
|
||||
|
||||
@ -7,7 +7,7 @@
|
||||
<!-- wp:query {"query":{"perPage":6,"pages":0,"offset":0,"postType":"post","order":"desc","orderBy":"date","author":"","search":"","exclude":[],"sticky":"","inherit":true},"displayLayout":{"type":"flex","columns":3},"align":"wide","layout":{"type":"default"}} -->
|
||||
<div class="wp-block-query alignwide">
|
||||
<!-- wp:post-template {"align":"wide"} -->
|
||||
<!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"max(15vw, 30vh)","align":"wide"} /-->
|
||||
<!-- wp:post-featured-image {"isLink":true,"width":"100%","height":"clamp(15vw, 30vh, 400px)","align":"wide"} /-->
|
||||
<!-- wp:post-title {"isLink":true} /-->
|
||||
<!-- wp:post-excerpt /-->
|
||||
<!-- wp:post-date {"isLink":true} /-->
|
||||
|
||||
Loading…
Reference in New Issue
Block a user