mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
client: Fix custom scroll bar on Chrome/Electron (closes #350)
This commit is contained in:
parent
5609612473
commit
2de2c7fc9d
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user