perf(theme): 优化无右侧边栏时文档宽度

This commit is contained in:
pengzhanbo 2024-07-10 07:38:15 +08:00
parent 9a64ee07bf
commit 27116d7071
2 changed files with 8 additions and 0 deletions

View File

@ -173,6 +173,10 @@ watch(
max-width: 784px;
}
.vp-doc-container:not(.has-sidebar.has-aside) .content {
max-width: 884px;
}
.vp-doc-container:not(.has-sidebar) .container {
max-width: 1104px;
}

View File

@ -98,6 +98,10 @@
}
}
.vp-doc > h1:first-of-type {
display: none;
}
.vp-doc img {
display: inline-block;
}