#58766 closed defect (bug) (fixed)
Twenty Twenty-Three: height of featured images causes expanding iFrame when viewing style variations
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.3 | Priority: | normal |
Severity: | normal | Version: | 6.3 |
Component: | Bundled Theme | Keywords: | has-patch |
Focuses: | css | Cc: |
Description
In Twenty Twenty-Three, the height of the featured images in the Archive, Home, Index, and Search templates is currently set to max(15vw, 30vh)
. When viewing the style variations in the editor, this causes an ever-expanding view in the iFrame used to preview the style variations.
Please see this Gutenberg issue for more information and videos: https://github.com/WordPress/gutenberg/issues/52297
We can prevent this by setting a fixed maximum height for the featured images.
Change History (9)
This ticket was mentioned in PR #4821 on WordPress/wordpress-develop by @mikachan.
20 months ago
#1
- Keywords has-patch added
This ticket was mentioned in PR #4821 on WordPress/wordpress-develop by @mikachan.
20 months ago
#2
This sets the height of the featured images in the Archive, Home, Index, and Search templates from max(15vw, 30vh)
to clamp(15vw, 30vh, 400px)
. This is to set a maximum fixed-pixel height on the featured images, to prevent them from causing an ever-expanding iFrame height. Please see https://github.com/WordPress/gutenberg/issues/52297 for more details.
Before | After |
---|---|
| |
Trac ticket: https://core.trac.wordpress.org/ticket/58766
20 months ago
#3
Noting that we can ideally get this in before the Product Demo on July 27th as we'll use the TT3 theme then.
This sets the height of the featured images in the Archive, Home, Index, and Search templates from
max(15vw, 30vh)
toclamp(15vw, 30vh, 400px)
. This is to set a maximum fixed-pixel height on the featured images, to prevent them from causing an ever-expanding iFrame height. Please see https://github.com/WordPress/gutenberg/issues/52297 for more details.Trac ticket: https://core.trac.wordpress.org/ticket/58766