Skip to content

Commit 2b3ffb8

Browse files
authored
docs: fix mobile navbar (#55)
1 parent 0289d00 commit 2b3ffb8

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

docs/src/.vitepress/theme/custom.css

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -239,20 +239,17 @@ div[class*='language-'] code {
239239
}
240240

241241
/* Enhanced navigation */
242-
.VPNav {
242+
.VPNavBar {
243243
backdrop-filter: blur(12px);
244244
background: rgba(255, 255, 255, 0.85);
245245
border-bottom: 1px solid var(--vp-c-divider);
246+
box-shadow: var(--vp-shadow-1);
246247
}
247248

248-
.dark .VPNav {
249+
.dark .VPNavBar {
249250
background: rgba(26, 26, 26, 0.85);
250251
}
251252

252-
.VPNavBar {
253-
box-shadow: var(--vp-shadow-1);
254-
}
255-
256253
/* Enhanced sidebar */
257254
.VPSidebar {
258255
background: var(--vp-c-bg-soft);

0 commit comments

Comments
 (0)