[wp-trac] [WordPress Trac] #65141: Fix alignment for sortable metabox on post and page edit screen with classic editor

WordPress Trac noreply at wordpress.org
Tue Apr 28 20:14:33 UTC 2026


#65141: Fix alignment for sortable metabox on post and page edit screen with
classic editor
------------------------------------+----------------------
 Reporter:  umesh.nevase            |       Owner:  (none)
     Type:  defect (bug)            |      Status:  new
 Priority:  normal                  |   Milestone:  7.0
Component:  Editor                  |     Version:  trunk
 Severity:  normal                  |  Resolution:
 Keywords:  has-patch admin-reskin  |     Focuses:  ui, css
------------------------------------+----------------------
Changes (by sabernhardt):

 * keywords:  has-patch => has-patch admin-reskin
 * focuses:  ui => ui, css
 * milestone:  Awaiting Review => 7.0


Old description:

> When the Classic Editor is selected as the default editor in the Writing
> Settings, the sortable metabox container on the post/page edit screen
> includes an extra 4px of padding. This results in a 4px misalignment of
> the metabox container with Classic Editor and other UI elements on the
> page.
> Debugging confirms that this padding is only applied when the Classic
> Editor is active. Since it serves no identifiable purpose other than for
> these metaboxes, it can be safely removed to restore alignment. This
> change was originally introduced in Changeset
> [https://core.trac.wordpress.org/changeset/61646].

New description:

 When the Classic Editor is selected as the default editor in the Writing
 Settings, the sortable metabox container on the post/page edit screen
 includes an extra 4px of padding. This results in a 4px misalignment of
 the metabox container with Classic Editor and other UI elements on the
 page.

 Debugging confirms that this padding is only applied when the Classic
 Editor is active. Since it serves no identifiable purpose other than for
 these metaboxes, it can be safely removed to restore alignment. This
 change was originally introduced in Changeset [61646].

--

Comment:

 [61646] added the 4-pixel padding to sortable metaboxes in the dashboard,
 classic post editor, and media editor.

 Then [61759] set the dashboard widgets' padding to 0, which does not seem
 necessary if the padding is removed from all of them.

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


More information about the wp-trac mailing list