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
Click on Site Editor
Click on Styles
Click on Typography
Click on Text
Use Custom Font Size
Enter the font size 90 in px
Now select rem
Screenshots, screen recording, code snippet
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.
Description
If the font size is set to 90 px or any big size and someone switches it to
em
orrem
it breaks the layout. The font size is of course too big inem
andrem
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
Screenshots, screen recording, code snippet
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