Make WordPress Core

Opened 2 years ago

Closed 2 years ago

#55813 closed defect (bug) (reported-upstream)

2 lines text in Block style panel's button

Reported by: olein's profile olein Owned by:
Milestone: Priority: normal
Severity: normal Version: 6.0
Component: Editor Keywords: close block-editor-ui
Focuses: ui, css, administration Cc:


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.

Change History (2)

#1 @sabernhardt
2 years ago

  • Keywords close block-editor-ui added

Thanks for the report! Could you open an issue on GitHub instead? Any change will need to be made there.

#2 @sabernhardt
2 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to reported-upstream
  • Status changed from new to closed

Thank you!

The discussion can continue on issue GB41355.

Note: See TracTickets for help on using tickets.