Site Editor Layout Breaks When Selecting Font Sizes with Long Names in theme.json #68271
Closed
3 of 6 tasks
Labels
[Feature] Typography
Font and typography-related issues and PRs
Global Styles
Anything related to the broader Global Styles efforts, including Styles Engine and theme.json
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
When adding custom font sizes with long names in the theme.json file, the Site Editor layout breaks when these font sizes are selected. The issue manifests as an overflow in the Site Editor panel, causing a horizontal scrollbar to appear. This negatively impacts the user experience by breaking the layout and making the interface difficult to use.
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
2024-12-24.18-00-16.mp4
Environment info
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
The text was updated successfully, but these errors were encountered: