fix(blog): make post title responsive on mobile#7915
Conversation
Long blog titles like the Prisma Next EA post broke word-by-word on mobile because the h1 used a fixed type-title-5xl (4rem). Scale the title down on smaller screens and add break-words as a safety net. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
|
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: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThis PR applies responsive typography scaling to the blog post page title. The heading now adapts its size across viewports using Tailwind breakpoints instead of displaying at a fixed size. ChangesBlog post title responsive typography
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint skipped: no ESLint configuration detected in root package.json. To enable, add Comment |
|
The latest updates on your projects. Learn more about Argos notifications ↗︎
|
Summary
<h1>used a fixedtype-title-5xl(4rem / 64px) at every viewport.type-title-3xlon mobile →type-title-4xlonmd→type-title-5xlonlg, withbreak-words hyphens-autoas a safety net.Test plan
🤖 Generated with Claude Code
Summary by CodeRabbit