mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
docs(site): improve code margin
This commit is contained in:
parent
263db4a470
commit
2a0a368bae
@ -190,7 +190,7 @@ iPhone X 等机型底部存在底部指示条,指示条的操作区域与页
|
|||||||
<van-number-keyboard safe-area-inset-bottom />
|
<van-number-keyboard safe-area-inset-bottom />
|
||||||
```
|
```
|
||||||
|
|
||||||
<img src="https://b.yzcdn.cn/vant/safearea.png" style="margin-top: 30px;">
|
<img src="https://b.yzcdn.cn/vant/safearea.png">
|
||||||
|
|
||||||
### 组件实例方法
|
### 组件实例方法
|
||||||
|
|
||||||
|
@ -3,7 +3,6 @@
|
|||||||
code {
|
code {
|
||||||
position: relative;
|
position: relative;
|
||||||
display: block;
|
display: block;
|
||||||
margin-top: 20px;
|
|
||||||
overflow-x: auto;
|
overflow-x: auto;
|
||||||
color: @van-doc-code-color;
|
color: @van-doc-code-color;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
@ -16,7 +15,11 @@ code {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pre {
|
pre {
|
||||||
margin: 0;
|
margin: 20px 0 0;
|
||||||
|
|
||||||
|
+ p {
|
||||||
|
margin-top: 20px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.hljs {
|
.hljs {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user