[wp-trac] [WordPress Trac] #62934: WordPress Embedded Block Shows Large Whitespace for Short Posts

WordPress Trac noreply at wordpress.org
Tue Feb 11 22:25:03 UTC 2025


#62934: WordPress Embedded Block Shows Large Whitespace for Short Posts
--------------------------------------------------+-----------------------
 Reporter:  devansh2002                           |       Owner:  audrasjb
     Type:  enhancement                           |      Status:  accepted
 Priority:  normal                                |   Milestone:  6.8
Component:  Embeds                                |     Version:  4.4
 Severity:  normal                                |  Resolution:
 Keywords:  has-patch needs-testing dev-feedback  |     Focuses:
--------------------------------------------------+-----------------------

Comment (by swissspidy):

 Now I recall why it was 200px minimum height: the sharing dialog needs
 enough space.

 100px is too short, it cuts a lot off.

 200px is just enough to display it properly, even when selecting the "HTML
 Embed" code option. Anything below 200px wouldn't be enough.

 We might be able to add some CSS inside the iframe to improve styling if
 there's not enough space, but we don't control what's inside. So if it's
 an embed from an older WP version it won't work.

 Given the edge case I am inclined to rather close this as a wontfix.

 (Reminder, I wrote this code ~10years ago)

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62934#comment:6>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list