Skip to content

fix(web-app): truncate long plugin names in the admin sidebar nav - #483

Open
newmanw wants to merge 1 commit into
ngageoint:developfrom
newmanw:fix/admin-nav-plugin-name-truncation
Open

fix(web-app): truncate long plugin names in the admin sidebar nav#483
newmanw wants to merge 1 commit into
ngageoint:developfrom
newmanw:fix/admin-nav-plugin-name-truncation

Conversation

@newmanw

@newmanw newmanw commented Aug 14, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Long plugin titles in the admin sidebar nav wrapped onto a second line, but .nav-item has a fixed 36px height and no overflow handling, so the wrapped line spilled out and visually overlapped the nav item below it.
  • Truncate the plugin label with an ellipsis instead of wrapping, scoped to a new .nav-label--truncate modifier class rather than the shared .nav-label class — .nav-label is also used by the Users/Devices nav items which carry a matBadge, and overflow: hidden there would risk clipping the badge indicator.

Test plan

  • Edit a plugin nav label's text in devtools to something long and confirm it truncates cleanly with no overlap into the row below
  • Confirm Users/Devices unread-count badges still render correctly

Plugin titles in the admin sidebar nav could wrap onto a second
line, but .nav-item has a fixed 36px height and no overflow
handling, so the wrapped line spilled out and overlapped the nav
item below it. Truncate the plugin label with an ellipsis instead,
scoped to a dedicated .nav-label--truncate class so the Users/
Devices nav-labels (which carry a matBadge) are unaffected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant