1
0
Fork 0
mirror of synced 2024-07-03 05:20:32 +12:00

Add custom scrollbars to client apps

This commit is contained in:
Andrew Kingston 2021-06-30 19:57:31 +01:00
parent ccb48a642f
commit 3b23d55685

View file

@ -108,4 +108,25 @@
position: relative;
border: 1px solid var(--spectrum-global-color-gray-300);
}
/* Custom scrollbars */
:global(::-webkit-scrollbar) {
width: 8px;
height: 8px;
}
:global(::-webkit-scrollbar-track) {
background: var(--spectrum-alias-background-color-default);
}
:global(::-webkit-scrollbar-thumb) {
background-color: var(--spectrum-global-color-gray-400);
border-radius: 4px;
}
:global(::-webkit-scrollbar-corner) {
background: var(--spectrum-alias-background-color-default);
}
:global(*) {
scrollbar-width: thin;
scrollbar-color: var(--spectrum-global-color-gray-400)
var(--spectrum-alias-background-color-default);
}
</style>