[wp-trac] [WordPress Trac] #55665: Remove unused margin when post-body-content is empty

WordPress Trac noreply at wordpress.org
Tue May 3 14:06:19 UTC 2022


#55665: Remove unused margin when post-body-content is empty
-------------------------------------------------+-------------------------
 Reporter:  myousefi08                           |      Owner:  (none)
     Type:  defect (bug)                         |     Status:  new
 Priority:  normal                               |  Milestone:  Awaiting
                                                 |  Review
Component:  Posts, Post Types                    |    Version:
 Severity:  normal                               |   Keywords:
  Focuses:  ui, accessibility, javascript, css,  |
  template                                       |
-------------------------------------------------+-------------------------
 I created a custom post type that does not support any fields (support
 argument in $args)
 It's just a metabox inside
 But on the page to add that post (add-new post in wp-admin), there is an
 unused margin in , which creates a space at the top of the page that is
 related to the tag with the post-body-content ID.
 I suggest deleting this margin if this tag is empty.
 thank you

 [[Image(https://i.imgur.com/fFhFWiT.png)]]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/55665>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list