fix(Matte): support Linux better (#971)

This commit is contained in:
darkthemer 2023-07-13 10:03:33 +08:00 committed by GitHub
parent 0e6d892859
commit 0463e3f271
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,7 +71,7 @@
margin-right: var(--top-bar-padding-right); margin-right: var(--top-bar-padding-right);
margin-bottom: var(--top-bar-padding-bottom); margin-bottom: var(--top-bar-padding-bottom);
margin-left: var(--top-bar-padding-left); margin-left: var(--top-bar-padding-left);
padding: unset; padding: unset !important;
height: 40px; height: 40px;
width: auto; width: auto;
} }
@ -345,12 +345,10 @@
border-radius: var(--scrollbar-border-radius); border-radius: var(--scrollbar-border-radius);
width: var(--scrollbar-width-hover); width: var(--scrollbar-width-hover);
} }
.spotify__container--is-desktop.spotify__os--is-windows .main-view-container__scroll-node > .os-scrollbar-vertical {
.main-view-container__scroll-node
> .os-scrollbar-vertical {
/* fix scrollbar positioning */ /* fix scrollbar positioning */
top: 5px; top: 5px !important;
right: 5px; right: 5px !important;
} }
.os-scrollbar-handle { .os-scrollbar-handle {
/* increase size from right to left */ /* increase size from right to left */
@ -629,7 +627,7 @@
--panel-gap: 0 !important; --panel-gap: 0 !important;
} }
.spotify__container--is-desktop .Root__top-container { .spotify__container--is-desktop .Root__top-container {
padding-top: 0; padding-top: 0 !important;
} }
body:has(.main-yourLibraryX-library) body:has(.main-yourLibraryX-library)
.spotify__container--is-desktop:not(.fullscreen) .spotify__container--is-desktop:not(.fullscreen)