docs(site): improve code margin

This commit is contained in:
chenjiahan 2020-03-08 10:33:05 +08:00
parent 263db4a470
commit 2a0a368bae
2 changed files with 6 additions and 3 deletions

View File

@ -190,7 +190,7 @@ iPhone X 等机型底部存在底部指示条,指示条的操作区域与页
<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">
### 组件实例方法

View File

@ -3,7 +3,6 @@
code {
position: relative;
display: block;
margin-top: 20px;
overflow-x: auto;
color: @van-doc-code-color;
font-weight: 400;
@ -16,7 +15,11 @@ code {
}
pre {
margin: 0;
margin: 20px 0 0;
+ p {
margin-top: 20px;
}
}
.hljs {