Skip to content

Commit 4dfad01

Browse files
heygscbrc-dd
authored andcommitted
fix: aside style error caused by banner (vuejs#2572)
Co-authored-by: Divyansh Singh <[email protected]>
1 parent 2df8c22 commit 4dfad01

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

.vitepress/theme/components/VueMasteryBanner.vue

Lines changed: 1 addition & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -279,22 +279,7 @@ onMounted(() => {
279279
</style>
280280

281281
<style>
282-
html.vuemastery-menu-fixed .VPNav {
283-
top: 70px;
284-
}
285-
286-
html.vuemastery-menu-fixed {
287-
scroll-padding-top: 134px;
288-
overflow: auto;
289-
}
290-
291282
html.vuemastery-menu-fixed {
292-
margin-top: 72px;
293-
}
294-
295-
@media (max-width: 960px) {
296-
html.vuemastery-menu-fixed .VPNav {
297-
top: 0;
298-
}
283+
--vt-banner-height: 70px;
299284
}
300285
</style>

0 commit comments

Comments
 (0)