Skip to content

Commit

Permalink
fix(theme): set pointer events all on VPNavScreen (#1182)
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd committed Aug 16, 2022
1 parent f6d6c62 commit b36656a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/client/theme-default/components/VPNavBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,6 @@ const { hasSidebar } = useSidebar()
pointer-events: none;
}
.VPNavBar .container:deep(*) {
pointer-events: all;
}
@media (min-width: 768px) {
.VPNavBar {
padding: 0 32px;
Expand Down Expand Up @@ -104,6 +100,10 @@ const { hasSidebar } = useSidebar()
pointer-events: none;
}
.container :deep(*) {
pointer-events: all;
}
.content {
display: flex;
justify-content: flex-end;
Expand Down
1 change: 1 addition & 0 deletions src/client/theme-default/components/VPNavScreen.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ function unlockBodyScroll() {
background-color: var(--vp-c-bg);
overflow-y: auto;
transition: background-color 0.5s;
pointer-events: all;
}
.VPNavScreen.fade-enter-active,
Expand Down

0 comments on commit b36656a

Please sign in to comment.