Skip to content

Commit be260fd

Browse files
authored
fix(theme): use nav height css var for curtain top in sidebar (#4993)
1 parent 7879002 commit be260fd

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
@@ -119,7 +119,7 @@ watch(
119119
@media (min-width: 960px) {
120120
.curtain {
121121
position: sticky;
122-
top: -64px;
122+
top: calc(var(--vp-nav-height) * -1);
123123
left: 0;
124124
z-index: 1;
125125
margin-top: calc(var(--vp-nav-height) * -1);

0 commit comments

Comments
 (0)