feat(cli): increase document site padding (#11516)

This commit is contained in:
neverland 2023-01-25 20:56:10 +08:00 committed by GitHub
parent a3aa1a34b3
commit 769f16169e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View File

@ -14,7 +14,7 @@
--van-doc-green: #07c160;
// sizes
--van-doc-padding: 24px;
--van-doc-padding: 32px;
--van-doc-row-max-width: 1680px;
--van-doc-nav-width: 220px;
--van-doc-border-radius: 20px;

View File

@ -83,8 +83,8 @@ export default {
<style lang="less">
.van-doc-card {
margin-bottom: 24px;
padding: 24px;
margin-bottom: var(--van-doc-padding);
padding: 28px 28px 32px;
background-color: var(--van-doc-background-2);
border-radius: var(--van-doc-border-radius);
overflow: auto;
@ -253,7 +253,7 @@ export default {
}
> ul {
margin: 12px 0;
margin: 16px 0;
}
> ul li,
@ -324,7 +324,7 @@ export default {
padding: 0 0 75px;
.van-doc-markdown-body {
padding: 24px;
padding: var(--van-doc-padding);
overflow: hidden;
h1,
@ -344,7 +344,7 @@ export default {
}
h2 {
margin: 45px 0 20px;
margin: 52px 0 20px;
font-size: 26px;
}
}