Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
style(next): fix Firefox scrollbar styles overriding WebKit scrollbar styles
Adorian Dorandcd64554ebf3
diff --git a/src/public/stylesheets/theme-next/forms.css b/src/public/stylesheets/theme-next/forms.cssindex ecab8bdc17..16fec7c1ec 100644--- a/src/public/stylesheets/theme-next/forms.css+++ b/src/public/stylesheets/theme-next/forms.css@@ -730,4 +730,13 @@ input[type="range"] {:root {scrollbar-color: var(--scrollbar-thumb-color) transparent;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;+ }}\ No newline at end of file