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

Implement text clamping and conditional "Show More" button for long descriptions #494

Open
thaya-rk opened this issue Oct 15, 2024 · 1 comment

Comments

@thaya-rk
Copy link

thaya-rk commented Oct 15, 2024

Hi @hackerkid, I have found a minor issue in Mind-Expanding-Books

Currently, the "Show More" button is displayed for all book descriptions, even when the description is short and doesn't require expansion.I would like to use text clamping to limit the visible description to a few lines, and only show the button if the content exceeds this limit. Short descriptions will display fully without the button.

![image](https://github.com/user-attachments/assets/8e926b9a-9ddd

It ensures that the interface remains clean and improves the user experience by only showing the "Show More" button when it's actually needed.I would love to contribute and solve this issue if it aligns with the project's goals. Please let me know if I can work on this!

@Shayan12456
Copy link

/assign

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

No branches or pull requests

2 participants