Skip to content

fix: increase blog excerpt clamp - #1285

Merged
miohtama merged 1 commit into
masterfrom
fix/blog-excerpt-line-clamp
Jun 24, 2026
Merged

fix: increase blog excerpt clamp#1285
miohtama merged 1 commit into
masterfrom
fix/blog-excerpt-line-clamp

Conversation

@miohtama

Copy link
Copy Markdown
Contributor

Why
Blog post excerpts on the home page and blog index were capped at three rendered lines, which cut off longer descriptions such as the Tau Labs podcast post.

Lessons learnt
The blog excerpt limit is controlled by the shared BlogPostTile line clamp, so changes there affect both the front page blog roll and the blog index.

Summary

  • Increased blog excerpt clamp from 3 to 9 lines on larger viewports.
  • Added a mobile override allowing 11 lines for narrower cards.
  • Added a reusable lines-9 truncate utility.

@miohtama
miohtama merged commit 8c81261 into master Jun 24, 2026
2 of 5 checks passed
@miohtama
miohtama deleted the fix/blog-excerpt-line-clamp branch June 24, 2026 08:13
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

Successfully merging this pull request may close these issues.

1 participant