fix(theme): fix top of scrollbar being unusable (#2224)

pull/2226/head
Divyansh Singh 2 years ago committed by GitHub
parent 5bff74e8a5
commit 7178a22c9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -98,6 +98,11 @@ const classes = computed(() => ({
pointer-events: none; pointer-events: none;
} }
.container > .title,
.container > .content {
pointer-events: none;
}
.container :deep(*) { .container :deep(*) {
pointer-events: auto; pointer-events: auto;
} }

@ -74,6 +74,7 @@ watchPostEffect(async () => {
overflow-y: auto; overflow-y: auto;
transform: translateX(-100%); transform: translateX(-100%);
transition: opacity 0.5s, transform 0.25s ease; transition: opacity 0.5s, transform 0.25s ease;
overscroll-behavior: contain;
} }
.VPSidebar.open { .VPSidebar.open {

Loading…
Cancel
Save