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

Navbar options with sub-options can have inconsistent layout if sub-option length is shorter than primary title #10561

Open
SDScandrettKint opened this issue Jan 25, 2024 · 1 comment · Fixed by #11604
Assignees
Labels
Type: Bug Something isn't working

Comments

@SDScandrettKint
Copy link
Member

Found on dev/7.5.x

If the name of a Resource Model has a length that less than the text "Add New Resource" then the layout of the hovering panel is too small.
e.g.
image

This isn't the case for models with a long name, as the layout stretches to match.
e.g.
image

@SDScandrettKint
Copy link
Member Author

Reopening this issue, as the fix of adding 120px min-width didn't address i18n differences in "Add New Resource" string length:

Image

Interestingly, after doing some more investigation we can see the same happens for the "Arches Designer" in languages where the terms "Resource Models" and "Branches" (mainly the former) are shorter than "Arches Designer". We don't see this in the English localisation, but a good example to see this issue is in Hebrew:

Image

And lastly, in French we can see the same for "Map Layer Manager":

Image

We can safely widen this issue to all navbar options which have sub-options (i.e. "System Settings", "Add New Resource", "Arches Designer", and "Map Layer Manager").

@SDScandrettKint SDScandrettKint changed the title Add new resource layout doesn't fit resource model name smaller than "Add New Resource" Navbar options with sub-options can have inconsistent layout if sub-option length is shorter than primary title Feb 3, 2025
@SDScandrettKint SDScandrettKint moved this from ✅ Done to 📋 Backlog in pipeline Feb 3, 2025
@SDScandrettKint SDScandrettKint self-assigned this Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
Status: 📋 Backlog
2 participants