-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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 long event description #13919
truncate long event description #13919
Conversation
✅ Deploy Preview for ethereumorg ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
Hey @sumitvekariya! Thanks for the PR... Apologies if the issue may have been misleading, but I think we can get away with simply restricting the line count here (instead of word count), which we can use a simply TailwindCSS class for this: line-clamp-x
... by default this has up to line-clamp-6
, so I would suggest this )(just chatted with @konopkja as well who is in agreement)
Left a suggestion for how we can simplify to use this approach
Co-authored-by: Paul Wackerow <[email protected]>
Co-authored-by: Paul Wackerow <[email protected]>
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 @sumitvekariya!
Description
The event description had no text limitation and could have been too long. So now event description is limited to 230 characters, if longer than that it is truncated to 230 characters followed by
...
Related Issue
#13914