fix(site): increase blog body text to 18px for readability#1146
Merged
fix(site): increase blog body text to 18px for readability#1146
Conversation
Add text-p15 type scale token (18px) and apply it to the blog layout. Components that explicitly set text-p2 (Li, Td, H5) get a @3xl container query override. Clean up H4's inline fontSize hack by using text-p15 directly. Closes #836 https://claude.ai/code/session_016qsPsFZiKeAG92DyN8gGX1
Replace @3xl container queries on shared components with a CSS cascade rule (.text-p15 .text-p2) so the 18px override only applies within blog and markdown layouts. Apply text-p15 to Markdown.astro for the privacy page. https://claude.ai/code/session_016qsPsFZiKeAG92DyN8gGX1
Replace the .text-p15 .text-p2 cascade rule with @3xl container queries on the article elements and shared components. This is more idiomatic Tailwind and naturally scopes to wider containers — the docs article column is narrower than @3xl due to sidebar + TOC. https://claude.ai/code/session_016qsPsFZiKeAG92DyN8gGX1
Match border style (border-y, dark mode aware), padding (py-10), and heading scale (sm:text-h15) to the blog layout header. https://claude.ai/code/session_016qsPsFZiKeAG92DyN8gGX1
✅ Deploy Preview for vjs10-site ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
📦 Bundle Size Report🎨 @videojs/html — no changesPresets (7)
Media (6)
Players (3)
Skins (16)
UI Components (21)
Sizes are marginal over the root entry point. ⚛️ @videojs/react — no changesPresets (7)
Media (5)
Skins (14)
UI Components (18)
Sizes are marginal over the root entry point. 🧩 @videojs/core — no changesEntries (7)
🏷️ @videojs/element — no changesEntries (2)
📦 @videojs/store — no changesEntries (3)
🔧 @videojs/utils — no changesEntries (10)
📦 @videojs/spf — no changesEntries (3)
ℹ️ How to interpretAll sizes are standalone totals (minified + brotli).
Run |
Remove hardcoded text-p2/p3 from Li, Td, Th, and H5 so they inherit from the parent. Set text-p15 directly on blog and markdown article elements instead of using container queries that can't target self. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Add text-p15 type scale token (18px) and apply it to the blog layout.
Components that explicitly set text-p2 (Li, Td, H5) get a @3xl container
query override. Clean up H4's inline fontSize hack by using text-p15 directly.
Closes #836
https://claude.ai/code/session_016qsPsFZiKeAG92DyN8gGX1
Note
Low Risk
Low risk visual-only typography adjustments affecting blog/markdown rendering; main risk is unintended layout/spacing regressions on small/large breakpoints and tables/lists.
Overview
Increases blog/markdown body typography by introducing a new
text-p15(18px) token and applying it to blog and generic markdown article containers (Markdown.astro,blog/[...slug].astro) with responsive sizing.Cleans up typography components to rely on container/body text sizing instead of hardcoded paragraph sizes:
H4switches totext-p15and drops the inlinefontSize, whileH5,Td,Th, and shared list styles remove explicittext-p2/text-p3classes so they inherit the new body size.Written by Cursor Bugbot for commit 73b2f47. This will update automatically on new commits. Configure here.