Skip to content

Commit d91f3b1

Browse files
object-kazObjectKaz
andauthored
fix(theme): tweak styles of nav title (#962) (#968)
Co-authored-by: ObjectKaz <[email protected]>
1 parent 30249dc commit d91f3b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/client/theme-default/components/VPSidebar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ watchPostEffect(async () => {
9494
9595
@media (min-width: 1440px) {
9696
.VPSidebar {
97-
padding-left: calc((100% - (var(--vp-layout-max-width) - 64px)) / 2);
97+
padding-left: max(32px, calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));
9898
width: calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px);
9999
}
100100
}

0 commit comments

Comments
 (0)