Skip to content

Commit

Permalink
fix(theme): fix top of scrollbar being unusable (#2224)
Browse files Browse the repository at this point in the history
  • Loading branch information
brc-dd committed Apr 15, 2023
1 parent 5bff74e commit 7178a22
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/client/theme-default/components/VPNavBar.vue
Expand Up @@ -98,6 +98,11 @@ const classes = computed(() => ({
pointer-events: none;
}
.container > .title,
.container > .content {
pointer-events: none;
}
.container :deep(*) {
pointer-events: auto;
}
Expand Down
1 change: 1 addition & 0 deletions src/client/theme-default/components/VPSidebar.vue
Expand Up @@ -74,6 +74,7 @@ watchPostEffect(async () => {
overflow-y: auto;
transform: translateX(-100%);
transition: opacity 0.5s, transform 0.25s ease;
overscroll-behavior: contain;
}
.VPSidebar.open {
Expand Down

0 comments on commit 7178a22

Please sign in to comment.