File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
src/client/theme-default/components Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ provide('close-screen', closeScreen)
3333 left : 0 ;
3434 z-index : var (--vp-z-index-nav );
3535 width : 100% ;
36+ pointer-events : none ;
3637}
3738
3839@media (min-width : 960px ) {
Original file line number Diff line number Diff line change @@ -54,6 +54,11 @@ const { hasSidebar } = useSidebar()
5454 padding : 0 8px 0 24px ;
5555 height : var (--vp-nav-height-mobile );
5656 transition : border-color 0.5s , background-color 0.5s ;
57+ pointer-events : none ;
58+ }
59+
60+ .VPNavBar .container :deep(* ) {
61+ pointer-events : all ;
5762}
5863
5964@media (min-width : 768px ) {
@@ -96,6 +101,7 @@ const { hasSidebar } = useSidebar()
96101 justify-content : space-between ;
97102 margin : 0 auto ;
98103 max-width : calc (var (--vp-layout-max-width ) - 64px );
104+ pointer-events : none ;
99105}
100106
101107.content {
You can’t perform that action at this time.
0 commit comments