Skip to content
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

Force truncate titles in cards to <70 characters #296

Merged
merged 3 commits into from
Oct 27, 2023
Merged

Conversation

nyalldawson
Copy link
Collaborator

Avoids titles overflowing onto other parts of cards. Unfortunately
this is a very crude approach, in that we can't actually account
for the length of words and the actual text wrapping positions
due to the use of HTML characters in the title label

Fixes #295

Otherwise we only have at most space for two lines of title text,
which is less than we get in the wider card layout

Refs #295
... which unfortunately does not help, because we rely on HTML
formatting label text for titles...
Avoids titles overflowing onto other parts of cards. Unfortunately
this is a very crude approach, in that we can't actually account
for the length of words and the actual text wrapping positions
due to the use of HTML characters in the title label

Fixes #295
@nyalldawson nyalldawson merged commit 5f0f064 into master Oct 27, 2023
11 checks passed
@nyalldawson nyalldawson deleted the long_name branch October 27, 2023 05:08
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.

Long layer name causing text overlap.
1 participant