client: Fix custom scroll bar on Chrome/Electron (closes #350)

This commit is contained in:
Elian Doran 2024-08-15 09:59:37 +03:00
parent 5609612473
commit 2de2c7fc9d
No known key found for this signature in database

View File

@ -837,18 +837,24 @@ body {
scrollbar-color: var(--scrollbar-background-color) var(--main-background-color);
}
::-webkit-scrollbar {
width: 12px;
}
@supports selector(::-webkit-scrollbar) {
body {
scrollbar-color: unset;
}
::-webkit-scrollbar-thumb {
border-radius: 5px;
border: 1px solid var(--scrollbar-border-color);
background-color: var(--scrollbar-background-color);
}
::-webkit-scrollbar-corner {
background-color: inherit;
::-webkit-scrollbar {
width: 12px;
}
::-webkit-scrollbar-thumb {
border-radius: 5px;
border: 1px solid var(--scrollbar-border-color);
background-color: var(--scrollbar-background-color);
}
::-webkit-scrollbar-corner {
background-color: inherit;
}
}
[data-toggle="tooltip"]:not(.button-widget) span {