diff --git a/src/client/theme-default/components/VPNavBar.vue b/src/client/theme-default/components/VPNavBar.vue
index a0f258f2..f6fdcd5f 100644
--- a/src/client/theme-default/components/VPNavBar.vue
+++ b/src/client/theme-default/components/VPNavBar.vue
@@ -1,6 +1,7 @@
@@ -77,7 +83,7 @@ const classes = computed(() => ({
padding: 0;
}
- .VPNavBar.fill:not(.has-sidebar) {
+ .VPNavBar:not(.has-sidebar):not(.top) {
border-bottom-color: var(--vp-c-gutter);
background-color: var(--vp-nav-bg-color);
}
@@ -162,8 +168,7 @@ const classes = computed(() => ({
}
@media (min-width: 960px) {
- .VPNavBar.has-sidebar .content-body,
- .VPNavBar.fill .content-body {
+ .VPNavBar:not(.top) .content-body{
position: relative;
background-color: var(--vp-nav-bg-color);
}