Skip to content

Commit

Permalink
fix(theme): add styles for h4 too
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd committed Jun 27, 2024
1 parent 7bde800 commit b54d7b0
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/client/theme-default/styles/components/vp-doc.css
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@
font-size: 20px;
}

.vp-doc h4 {
margin: 24px 0 0;
letter-spacing: -0.01em;
line-height: 24px;
font-size: 18px;
}

.vp-doc .header-anchor {
position: absolute;
top: 0;
Expand Down Expand Up @@ -262,7 +269,8 @@

.vp-doc h1 > code,
.vp-doc h2 > code,
.vp-doc h3 > code {
.vp-doc h3 > code,
.vp-doc h4 > code {
font-size: 0.9em;
}

Expand Down

0 comments on commit b54d7b0

Please sign in to comment.