mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-05 19:41:42 +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 />
|
||||
```
|
||||
|
||||
<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 {
|
||||
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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user