Skip to content

Build your personal knowledge base with Trilium Notes

client: Remove broken Firefox scrollbar styling

Elian Dorane70531fcc106
diff --git a/src/public/stylesheets/style.css b/src/public/stylesheets/style.css
index e2795c99fe..42ba97b39d 100644
--- a/src/public/stylesheets/style.css
+++ b/src/public/stylesheets/style.css
@@ -832,29 +832,18 @@ li.dropdown-submenu:hover > ul.dropdown-menu {
transform: rotate(-90deg);
}
-body {
- /* FF basic styling */
- scrollbar-color: var(--scrollbar-background-color) transparent;
+::-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 {
- 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;
- }
+::-webkit-scrollbar-corner {
+ background-color: inherit;
}
[data-toggle="tooltip"]:not(.button-widget) span {