fix: nav background not being blurred on Firefox (#652)

fix #652
pull/660/head
Kia Ishii 3 years ago
parent 6c78fc0338
commit 049c1e7a0a

@ -36,5 +36,15 @@ provide('close-screen', closeScreen)
backdrop-filter: saturate(50%) blur(8px); backdrop-filter: saturate(50%) blur(8px);
-webkit-backdrop-filter: saturate(50%) blur(8px); -webkit-backdrop-filter: saturate(50%) blur(8px);
} }
@supports not (backdrop-filter: saturate(50%) blur(8px)) {
.VPNav.no-sidebar {
background: rgba(255, 255, 255, 0.95);
}
.dark .VPNav.no-sidebar {
background: rgba(36, 36, 36, 0.95);
}
}
} }
</style> </style>

@ -68,6 +68,16 @@ const { hasSidebar } = useSidebar()
backdrop-filter: saturate(50%) blur(8px); backdrop-filter: saturate(50%) blur(8px);
-webkit-backdrop-filter: saturate(50%) blur(8px); -webkit-backdrop-filter: saturate(50%) blur(8px);
} }
@supports not (backdrop-filter: saturate(50%) blur(8px)) {
.VPNavBar.has-sidebar.content {
background: rgba(255, 255, 255, 0.95);
}
.dark .VPNavBar.has-sidebar .content {
background: rgba(36, 36, 36, 0.95);
}
}
} }
.container { .container {

Loading…
Cancel
Save