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

WordPress Trac noreply at wordpress.org
Mon Feb 10 14:47:44 UTC 2025


#62934: WordPress Embedded Block Shows Large Whitespace for Short Posts
-------------------------------------------------+-------------------------
 Reporter:  devansh2002                          |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Embeds                               |     Version:  trunk
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-testing dev-         |     Focuses:
  feedback                                       |
-------------------------------------------------+-------------------------

Comment (by devansh2002):

 @swissspidy
 I agree with setting a minimum height.

 I tested embedding both short and long content posts.
 The embedded iframe height was around 139px, and on mobile (320px width)
 it was about 161px for short post.
 Since, it was less than 200px the iframe was using 200px as height and
 hence the whitespace.

 A minimum height of 100px seems reasonable.

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


More information about the wp-trac mailing list