fix: clamp blog post excerpts to three lines - #268
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. WalkthroughThe Priority: ➖ Normal Severity of issue fixed: Medium Merge Risk: ⚪ Minimal · up to The styling change is narrowly scoped to the intended blog-card excerpt layout and is ready to merge. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Thanks for reviewing and merging this PR, |
Summary
Adds
line-clamp-3to the post excerpt inPostCard/index.module.cssto ensure consistent card heights and spacing across the blog grid.Motivation
On
/blog, post description lengths vary, causing uneven spacing between the excerpt content and the bottom byline across cards in the same grid row.Clamping excerpts to three lines keeps the card content, spacing, and bylines aligned consistently across the grid.
Changes
line-clamp-3to.excerptin:components/Blog/PostCard/index.module.cssCloses #267
Summary by CodeRabbit