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

Browse Mode: Templates/Parts with a long name in the sidebar are displayed untidily #48155

Closed
franzaurus opened this issue Feb 17, 2023 · 0 comments · Fixed by #48160
Closed
Labels
[Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing")

Comments

@franzaurus
Copy link

Description

When adding new Templates/Parts with a long name, the sidebar displays their names untidily, it even cuts off the Edit button.

It's affected WP 6.2 Beta 2 and the nightly build as well.

Step-by-step reproduction instructions

  1. Go to Site Editor
  2. Add new Template or Template part with a long name like “Header with a White Background” or “Custom Template with a Long Name”
  3. Go back to the Navigation Sidebar (by clicking the W icon, or your site's icon)
  4. Observe the Template/Part’s name looks cramp and untidy, even the side of the Edit button is cut off.

Screenshots, screen recording, code snippet

On WP 6.2 Beta 2
sidebar-long-template-part-untidy-62beta2

On WP nightly 6.2beta2-55354
sidebar-long-template-part-untidy-62beta2-55354

Environment info

  • WP 6.2 Beta 2
  • WP 6.2-beta2-55354
  • Firefox
  • Chrome

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing")
Projects
2 participants