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

Fix long Asset's description display #51

Open
aurelticot opened this issue Jan 9, 2023 · 0 comments
Open

Fix long Asset's description display #51

aurelticot opened this issue Jan 9, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@aurelticot
Copy link
Member

aurelticot commented Jan 9, 2023

For the moment, the description in the Asset details pages are not truncated.
According to the design, it should be limited to 5 or 6 lines and if longer, display an ellipsis and a show more button to expand and reveal the full description.

While truncating the text to 5/6 lines is easy (with class line-clamp-x), knowing when to display a "show more" button and handling its behaviour is more challenging. It is possible with CSS only but will have to double check with Tailwind.

This ticket aims to address this.

@aurelticot aurelticot added the enhancement New feature or request label Jan 9, 2023
@aurelticot aurelticot added this to the beta milestone Feb 27, 2023
@aurelticot aurelticot removed this from the beta milestone Mar 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant