Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changing the font size to larger font size breaks the layout in sidebar settings panel #41233

Open
juhi123 opened this issue May 23, 2022 · 1 comment
Labels
[Type] Bug An existing feature does not function as intended

Comments

@juhi123
Copy link
Contributor

juhi123 commented May 23, 2022

Description

If the font size is set to 90 px or any big size and someone switches it to em or rem it breaks the layout. The font size is of course too big in em and rem but maybe we can either set the limits and can give an alert/message to enter font size is given limit to the user or doesn't reflect these changes for preview.

It also occurs with or without the Gutenberg plugin installed.

Step-by-step reproduction instructions

  1. Click on Site Editor
  2. Click on Styles
  3. Click on Typography
  4. Click on Text
  5. Use Custom Font Size
  6. Enter the font size 90 in px
  7. Now select rem

Screenshots, screen recording, code snippet

font-break-layout

Environment info

No response

Please confirm that you have searched existing issues in the repo.

Yes

Please confirm that you have tested with all plugins deactivated except Gutenberg.

Yes

@mtias mtias added the [Type] Bug An existing feature does not function as intended label May 23, 2022
@costdev
Copy link
Contributor

costdev commented May 23, 2022

This also occurs on WordPress 5.9.0, with or without the Gutenberg plugin installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Bug An existing feature does not function as intended
3 participants