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

@@ -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 {