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

Truncate sentence list title to two lines with ellipsis #3125

Draft
wants to merge 2 commits into
base: dev
Choose a base branch
from

Conversation

cblanken
Copy link
Contributor

@cblanken cblanken commented Apr 23, 2024

This PR addresses issue #3118

It truncates sentence list titles to two lines using the solution outlined here on StackOverflow.

I still need to do some testing for other languages (Chinese, Japanese, etc) as mentioned in the issue discussion.

Edit:

Chinese (Simplified)

image

Chinese (Traditional)

image

Japanese

image

The truncation effect may cut off dangling characters such as 'g' or 'j' without
some extra line-height.
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.

None yet

1 participant