Skip to content

Closes #19902: add clip path to avoid overflow of device name #19913

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

Merged

Conversation

MarcoSpiz
Copy link
Contributor

@MarcoSpiz MarcoSpiz commented Jul 18, 2025

Add text truncation to avoid device name overflow in SVG rendering, and add clipPath method as fallback because text_truncate is an approximation

Fixes: #19902

…ice name, truncate text to improve centering
@jeremystretch jeremystretch requested review from a team and arthanson and removed request for a team July 21, 2025 13:26
Copy link
Collaborator

@arthanson arthanson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @MarcoSpiz !

@arthanson arthanson merged commit d571cb4 into netbox-community:main Jul 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Device names overflow rack unit boundaries in SVG rendering
2 participants