Skip to content

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
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 22, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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