🌐 AI搜索 & 代理 主页
Skip to content

Commit 4b8a8c7

Browse files
authored
fix(docs): hading before margin (#4029)
1 parent cbeeef9 commit 4b8a8c7

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

docs/assets/scss/styles.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,15 @@
103103
margin-top: 1rem;
104104
}
105105

106+
> h2,
107+
> h3,
108+
> h4 {
109+
&[id]:before {
110+
height: 1rem;
111+
margin-top: -1rem;
112+
}
113+
}
114+
106115
> h4,
107116
> h5 {
108117
margin-top: 1rem;

0 commit comments

Comments
 (0)