-
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
Fix overflowing long labeltree description #948
Conversation
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.
Thanks! So this is only a problem if there are no spaces in the description and the browser can't break the text, right? This will probably be more of an edge case.
I think the description should be displayed in full in the project list. This is what the description is for, after all. So instead of truncating it all the time (even if it has spaces and can be broken nicely), maybe we should rather use word-wrap: break-word
instead. This will break long words without spaces so they don't overflow the element.
While you are at it, you could do the same with the label tree title. And also on the label tree overview page:
8cedf0e
to
71cd59b
Compare
71cd59b
to
be31a6d
Compare
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.
I've merged #953 into this branch to fix the JS action errors.
Truncates long labeltree descriptions to prevent overflowing content.
Closes #925.