1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-22 11:45:59 +01:00

Custom webkit scrollbar styles for .vault-filters (#2694)

This commit is contained in:
Patrick H. Lauke 2022-05-18 17:00:58 +01:00 committed by GitHub
parent 141a54dbbe
commit eb7586c09a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,18 +96,21 @@ textarea {
} }
div:not(.modal)::-webkit-scrollbar, div:not(.modal)::-webkit-scrollbar,
.cdk-virtual-scroll-viewport::-webkit-scrollbar { .cdk-virtual-scroll-viewport::-webkit-scrollbar,
.vault-filters::-webkit-scrollbar {
width: 10px; width: 10px;
height: 10px; height: 10px;
} }
div:not(.modal)::-webkit-scrollbar-track, div:not(.modal)::-webkit-scrollbar-track,
.cdk-virtual-scroll-viewport::-webkit-scrollbar-track { .cdk-virtual-scroll-viewport::-webkit-scrollbar-track,
.vault-filters::-webkit-scrollbar-track {
background-color: transparent; background-color: transparent;
} }
div:not(.modal)::-webkit-scrollbar-thumb, div:not(.modal)::-webkit-scrollbar-thumb,
.cdk-virtual-scroll-viewport::-webkit-scrollbar-thumb { .cdk-virtual-scroll-viewport::-webkit-scrollbar-thumb,
.vault-filters::-webkit-scrollbar-thumb {
border-radius: 10px; border-radius: 10px;
margin-right: 1px; margin-right: 1px;