Skip to content

Commit 8bd80fe

Browse files
slusarzsirainen
authored andcommitted
vitepress: More CSS fixes related to wide page viewing
1 parent 577a11f commit 8bd80fe

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

.vitepress/theme/custom.css

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,19 @@
4444
}
4545
}
4646

47-
.VPNavBar.has-sidebar .title {
48-
padding-left: 16px !important;
47+
.VPNavBar.has-sidebar div.title {
48+
padding-left: 32px !important;
49+
margin-top: 1px;
50+
width: var(--vp-sidebar-width) !important;
4951
@media (max-width: 960px) {
5052
padding-left: 0 !important;
53+
width: auto !important;
54+
}
55+
}
56+
57+
.VPNav div.divider {
58+
padding-left: var(--vp-sidebar-width) !important;
59+
@media (max-width: 960px) {
60+
padding-left: 0px !important;
5161
}
5262
}

0 commit comments

Comments
 (0)