[wp-trac] [WordPress Trac] #51284: Update style for side meta boxes

WordPress Trac noreply at wordpress.org
Wed Sep 16 01:31:20 UTC 2020


#51284: Update style for side meta boxes
-----------------------------+--------------------------------
 Reporter:  rilwis           |       Owner:  (none)
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  General          |     Version:  5.5.1
 Severity:  normal           |  Resolution:
 Keywords:  has-screenshots  |     Focuses:  ui, accessibility
-----------------------------+--------------------------------

Comment (by rilwis):

 Replying to [comment:4 Laxman Prajapati]:
 > @rilwis The setting section is providing from your eStar theme. Not from
 all themes for example you can check with twentytwenty default wordpress
 theme.

 Maybe I didn't explain enough the problem. It's not about the theme or the
 settings. It's about the styling of custom meta boxes on Gutenberg-enabled
 edit screen.

 If developers add a meta box with a snippet like:

 {{{
 add_meta_box( 'custom-id', 'Custom Title', 'callback_function', 'post',
 'side' );
 }}}

 (Note about the parameter `side`, which makes the meta box appear on the
 right sidebar, below Gutenberg panels. It's worth noting that, meta boxes
 are still supported in Gutenberg.)

 Then it will appear similar to the screenshot I uploaded. The problems as
 I said in the first message (and pointed in the screenshot) are:

 - Different styles between collapse/expand arrows in custom meta boxes and
 Gutenberg panels.
 - Inappropriate size and position of the arrow up/down in custom meta
 boxes.

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


More information about the wp-trac mailing list