[wp-trac] [WordPress Trac] #54606: The selectControl component has margin bottom 0 in label of selectControl.

WordPress Trac noreply at wordpress.org
Fri Dec 10 05:02:25 UTC 2021


#54606: The selectControl component has margin bottom 0 in label of selectControl.
--------------------------+-----------------------------
 Reporter:  smit08        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  5.8.2
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:                |
--------------------------+-----------------------------
 I am using latest wp version 5.8.2 I created 1 custom gutenberg block and
 added the typography setting in inspector control for title and
 description of my custom gutenberg block.

 Steps to reproduce:
 1. Create a simple custom gutenberg block having 1 richtext.

 2. Now create setting for font weight by SelectControl. So you can see
 that label of selectControl has margin 0.

 3. So solution is to add margin-bottom 8 px.

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


More information about the wp-trac mailing list