Skip to content

Build your personal knowledge base with Trilium Notes

fix(client): thick scrollbar under Firefox 153

Elian Doran1e8acd817dcf
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css
index 5769875c98..15f3806988 100644
--- a/apps/client/src/stylesheets/style.css
+++ b/apps/client/src/stylesheets/style.css
@@ -1636,8 +1636,10 @@ body:not(.mobile) #launcher-pane.horizontal .dropdown-submenu > .dropdown-menu {
transform: rotate(-90deg);
}
-::-webkit-scrollbar {
- width: 12px;
+@supports (-webkit-box-reflect: below) {
+ ::-webkit-scrollbar {
+ width: 12px;
+ }
}
::-webkit-scrollbar-thumb {
diff --git a/apps/client/src/stylesheets/theme-next/forms.css b/apps/client/src/stylesheets/theme-next/forms.css
index a189a68e7b..889112cb2b 100644
--- a/apps/client/src/stylesheets/theme-next/forms.css
+++ b/apps/client/src/stylesheets/theme-next/forms.css
@@ -966,7 +966,7 @@ input[type="range"] {
scrollbar-width: var(--scrollbar-thickness);
}
-@supports selector(::-webkit-scrollbar) {
+@supports (-webkit-box-reflect: below) {
/* Prevent the scrollbar-color and scrollbar-width properties to override the custom styles
* defined using ::-webkit-scrollbar. */
:root {