fix(theme): tweak styles of nav title (#962) (#968)

Co-authored-by: ObjectKaz <shushitong@baidu.com>
pull/969/head
Kaz 2 years ago committed by GitHub
parent 30249dc2c3
commit d91f3b1b7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -94,7 +94,7 @@ watchPostEffect(async () => {
@media (min-width: 1440px) { @media (min-width: 1440px) {
.VPSidebar { .VPSidebar {
padding-left: calc((100% - (var(--vp-layout-max-width) - 64px)) / 2); padding-left: max(32px, calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));
width: calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px); width: calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px);
} }
} }

Loading…
Cancel
Save