Skip to content

Commit 9becd05

Browse files
Yushin-Lclaude
andcommitted
Add h1 prose styling for markdown # headings
h1 was missing from prose CSS, causing # headings to render at normal text size. Added 2em/800 weight styling. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ede3b80 commit 9becd05

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/app/globals.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,14 @@ body {
3333
}
3434

3535
/* Prose styling for MDX content */
36+
.prose h1 {
37+
margin-top: 2em;
38+
margin-bottom: 0.75em;
39+
font-size: 2em;
40+
font-weight: 800;
41+
line-height: 1.2;
42+
}
43+
3644
.prose h2 {
3745
margin-top: 2em;
3846
margin-bottom: 0.75em;

0 commit comments

Comments
 (0)