Opened 24 hours ago
Last modified 24 hours ago
#48482 new defect (bug)
Block library applying width of 100% to iframe
Reported by: | jeremeylduvall | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | trunk |
Component: | Editor | Keywords: | |
Focuses: | Cc: | ||
PR Number: |
Description
In 5.3, there's some styling at wp-includes/css/dist/block-library/style.css
that sets the width for iframe
elements to 100%. You can see it here:
It looks like this may result from this commit to Gutenberg:
Should this be set to max-width
? The width: 100%
setting can cause issues with existing iframes (ad units, for example).
Change History (3)
Note: See
TracTickets for help on using
tickets.
cc @joen for input as I believe you authored the original Gutenberg commit referred to above.