Skip to content

Build your personal knowledge base with Trilium Notes

style(next): restyle Firefox scrollbars

Adorian Doran4b9ea651a1c9
diff --git a/src/public/stylesheets/theme-next/forms.css b/src/public/stylesheets/theme-next/forms.css
index 402f332dcd..8dc997fda4 100644
--- a/src/public/stylesheets/theme-next/forms.css
+++ b/src/public/stylesheets/theme-next/forms.css
@@ -717,4 +717,16 @@ input[type="range"] {
::-webkit-scrollbar-button:horizontal {
width: var(--scrollbar-start-end-gap);
+}
+
+/*
+ * Firefox scrollbars
+ *
+ * Unsupported features: --scrollbar-thumb-thickness, --scrollbar-thumb-hover-thickness,
+ * --scrollbar-start-end-gap, --scrollbar-thumb-color-hover.
+ */
+
+:root {
+ scrollbar-color: var(--scrollbar-thumb-color) transparent;
+ scrollbar-width: var(--scrollbar-thickness);
}
\ No newline at end of file