Skip to content

Commit

Permalink
fix(theme): tweak styles of nav title (#962) (#968)
Browse files Browse the repository at this point in the history
Co-authored-by: ObjectKaz <shushitong@baidu.com>
  • Loading branch information
object-kaz and ObjectKaz committed Jul 12, 2022
1 parent 30249dc commit d91f3b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/client/theme-default/components/VPSidebar.vue
Expand Up @@ -94,7 +94,7 @@ watchPostEffect(async () => {
@media (min-width: 1440px) {
.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);
}
}
Expand Down

0 comments on commit d91f3b1

Please sign in to comment.