[wp-trac] [WordPress Trac] #55813: 2 lines text in Block style panel's button

WordPress Trac noreply at wordpress.org
Wed May 25 04:24:58 UTC 2022


#55813: 2 lines text in Block style panel's button
-------------------------------------+-----------------------------
 Reporter:  olein                    |      Owner:  (none)
     Type:  defect (bug)             |     Status:  new
 Priority:  normal                   |  Milestone:  Awaiting Review
Component:  Editor                   |    Version:  6.0
 Severity:  normal                   |   Keywords:
  Focuses:  ui, css, administration  |
-------------------------------------+-----------------------------
 If the block style name is on two lines, it will extend beyond the button.

 I know there is a conflict with the button component design.

 {{{
 .block-editor-block-styles__item-text {
     white-space: normal;
 }
 }}}

 It was felt that it would be acceptable to allow a line break of two lines
 in the form ````.

 Considering the height specification of the button component, we
 understand the desire to maintain the intended height of the button in the
 panel, so I would like to propose an idea such as allowing up to two
 lines.

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


More information about the wp-trac mailing list