Skip to content

Commit b54d7b0

Browse files
committed
fix(theme): add styles for h4 too
1 parent 7bde800 commit b54d7b0

File tree

1 file changed

+9
-1
lines changed
  • src/client/theme-default/styles/components

1 file changed

+9
-1
lines changed

Diff for: src/client/theme-default/styles/components/vp-doc.css

+9-1
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@
3535
font-size: 20px;
3636
}
3737

38+
.vp-doc h4 {
39+
margin: 24px 0 0;
40+
letter-spacing: -0.01em;
41+
line-height: 24px;
42+
font-size: 18px;
43+
}
44+
3845
.vp-doc .header-anchor {
3946
position: absolute;
4047
top: 0;
@@ -262,7 +269,8 @@
262269

263270
.vp-doc h1 > code,
264271
.vp-doc h2 > code,
265-
.vp-doc h3 > code {
272+
.vp-doc h3 > code,
273+
.vp-doc h4 > code {
266274
font-size: 0.9em;
267275
}
268276

0 commit comments

Comments
 (0)