fix(lyrics): hide the scrollbar in lyrics page (#605)

* fix(lyrics): hide the scrollbar in lyrics page

close #571

* fix(tracklist): close context menu when scrolling

* fix: disable scrolling when modal show
This commit is contained in:
Map1en_ 2021-04-26 22:42:10 +08:00 committed by GitHub
parent fa98085dcf
commit aa269cf2ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 41 additions and 19 deletions

View file

@ -111,6 +111,7 @@ export default {
--color-navbar-bg: rgba(255, 255, 255, 0.86);
--color-primary-bg-for-transparent: rgba(189, 207, 255, 0.28);
--color-secondary-bg-for-transparent: rgba(209, 209, 214, 0.28);
--html-overflow-y: overlay;
}
[data-theme='dark'] {
@ -140,7 +141,7 @@ body {
}
html {
overflow-y: overlay;
overflow-y: var(--html-overflow-y);
min-width: 768px;
overscroll-behavior: none;
}