[wp-trac] [WordPress Trac] #49288: Adjust the CSS/JS of the empty metabox holders

WordPress Trac noreply at wordpress.org
Fri Jan 24 22:20:03 UTC 2020


#49288: Adjust the CSS/JS of the empty metabox holders
--------------------------+------------------------------------------------
 Reporter:  xkon          |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:                |     Version:
  Administration          |
 Severity:  normal        |  Resolution:
 Keywords:  has-patch     |     Focuses:  ui, accessibility, administration
  needs-testing           |
--------------------------+------------------------------------------------
Changes (by xkon):

 * keywords:   => has-patch needs-testing


Comment:

 [attachment:"49288.diff"] adjusts the CSS rules and alters the postbox.js
 to be able to read all metabox holders to add the empty class.

 Instead of the default 250px height (as seen on Dashboard) the Edit empty
 holders will have a 50px height to avoid a big blank space at the bottom
 of the page (i.e. for advanced-sortables). It also enables the `Drag boxes
 here` message for resolutions above 1800px.

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


More information about the wp-trac mailing list