-
Notifications
You must be signed in to change notification settings - Fork 15
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
Add labels to services #45
Conversation
Test FAILed. |
Looks nice! |
Test FAILed. |
Test PASSed. |
@@ -107,6 +107,21 @@ func (s *service) usage(canvas *svg.SVG, iconIds map[string]string) { | |||
`clip-path="url(#clip-`+s.name+`)"`, | |||
) | |||
} | |||
name := s.name | |||
if len(name) > 20 { | |||
name = fmt.Sprintf("%s...", name[:17]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
have you thought about using … (ellipsis character) instead of ...?
👍 |
QA 👍 |
TY |
Status: merge request accepted. Url: http://ci.jujugui.org:8080/job/jujusvg-merge |
No description provided.