Skip to content

Build your personal knowledge base with Trilium Notes

style(next)/dropdowns: fix scrollbar broken corners

Adorian Doran51692aabd5a5
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css
index 2036f0bd88..84276e9c4a 100644
--- a/apps/client/src/stylesheets/style.css
+++ b/apps/client/src/stylesheets/style.css
@@ -363,7 +363,7 @@ button kbd {
.tabulator-popup-container {
color: var(--menu-text-color) !important;
font-size: inherit;
- background-color: var(--menu-background-color) !important;
+ background: var(--menu-background-color) !important;
user-select: none;
-webkit-user-select: none;
--bs-dropdown-zindex: 999;
diff --git a/apps/client/src/stylesheets/theme-next/base.css b/apps/client/src/stylesheets/theme-next/base.css
index 9488332bc0..a1885a9a37 100644
--- a/apps/client/src/stylesheets/theme-next/base.css
+++ b/apps/client/src/stylesheets/theme-next/base.css
@@ -102,10 +102,6 @@ body.backdrop-effects-disabled {
font-size: 0.9rem !important;
}
-.dropdown-menu {
- --scrollbar-background-color: var(--menu-background-color);
-}
-
body.mobile .dropdown-menu {
backdrop-filter: var(--dropdown-backdrop-filter);
border-radius: var(--dropdown-border-radius);
diff --git a/apps/client/src/stylesheets/theme-next/shell.css b/apps/client/src/stylesheets/theme-next/shell.css
index b4007975ca..4c55486d82 100644
--- a/apps/client/src/stylesheets/theme-next/shell.css
+++ b/apps/client/src/stylesheets/theme-next/shell.css
@@ -588,10 +588,8 @@ div.quick-search .dropdown-menu {
* As a temporary workaround, the backdrop and transparency are disabled for the
* vertical layout.
*/
-body.layout-vertical.background-effects div.quick-search .dropdown-menu {
- --scrollbar-background-color: var(--menu-background-color-no-backdrop);
-
- background: var(--menu-background-color-no-backdrop) !important;
+body.layout-vertical.background-effects div.quick-search .dropdown-menu {
+ --menu-background-color: var(--menu-background-color-no-backdrop) !important;
}
/* Item */