fix: display full content in statistics cards #549
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.

Problem
The statistics cards on the homepage were displaying truncated text with ellipses, making it impossible for users to read the complete descriptions. Specifically:
Solve Issue
#550
Root Cause
substring(0, 12)to limit text to 12 characters and adding ellipses manuallyh-12 sm:h-14which didn't accommodate multi-line textline-clamp-1only allowed one line of text, cutting off longer descriptionsSolution
Changes Made
substring(0, 12)logic that was artificially limiting text lengthline-clamp-1toline-clamp-2to allow up to 2 lines of textline-clamp-2toline-clamp-3for better flexibilitypy-3 sm:py-4 md:py-5) to provide more space for contentmin-h-[80px] sm:min-h-[90px]) to ensure consistent card sizingleading-tightfor better text spacingBefore
After
Impact
✅ Users can now read complete statistics descriptions
✅ Better accessibility with full content visible
✅ Improved user experience and information clarity
✅ Responsive design maintained across all screen sizes
Testing
issue :
