mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-08-11 19:13:55 +08:00
style(next): fix Firefox scrollbar styles overriding WebKit scrollbar styles
This commit is contained in:
parent
40e990d39a
commit
dcd64554eb
@ -731,3 +731,12 @@ input[type="range"] {
|
|||||||
scrollbar-color: var(--scrollbar-thumb-color) transparent;
|
scrollbar-color: var(--scrollbar-thumb-color) transparent;
|
||||||
scrollbar-width: var(--scrollbar-thickness);
|
scrollbar-width: var(--scrollbar-thickness);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@supports selector(::-webkit-scrollbar) {
|
||||||
|
/* Prevent the scrollbar-color and scrollbar-width properties to override the custom styles
|
||||||
|
* defined using ::-webkit-scrollbar. */
|
||||||
|
:root {
|
||||||
|
scrollbar-color: unset;
|
||||||
|
scrollbar-width: unset;
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user