Navigation
: Reset
button overlaps on the text when the text is long
#68625
Labels
[Status] In Progress
Tracking issues with work in progress
[Type] Bug
An existing feature does not function as intended
Description
This issue can be observed in the
Navigation
block'sSubmenu & Overlay Background
color setting. The text for this setting becomes overly large, causing theReset
button to overlap with it. This not only affects the UI's appearance but also hinders usability, making it challenging for users to interact with the controls.This problem was previously discussed in PR #68454, where similar behavior was highlighted. Addressing this issue is crucial to ensure a polished and user-friendly experience in the editor.
Step-by-step reproduction instructions
Navigation
block.Submenu & Overlay Background
color.Submenu & Overlay Background
setting's text underColor
settings overlaps with thereset
button.Screenshots, screen recording, code snippet
If the display text becomes longer, then an ellipsis is added to the overflowed text:

Expected behavior:
The maximum available width by the label should also consider the width that might be taken by the
reset
button and display the ellipsis accordingly.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: