style(next)/quick search/results dropdown: add a temporary workaround for the broken backdrop effect when the background effects are active

This commit is contained in:
Adorian Doran 2025-09-21 02:09:55 +03:00
parent fd054693d9
commit 6cfc6509f6

View File

@ -577,15 +577,21 @@ div.quick-search .search-button.show {
transition: background-color 100ms ease-out !important;
}
/*
* Quick search results
*/
div.quick-search .dropdown-menu {
--quick-search-item-delimiter-color: transparent;
--menu-item-icon-vert-offset: -.065em;
}
/*
* TO FIX: The quick search results dropdown has a backdrop issue with the tree panel
* when background effects are enabled in Electron.
* As a temporary workaround, the backdrop and transparency are disabled for the
* vertical layout.
*/
body.layout-vertical.background-effects div.quick-search .dropdown-menu {
--menu-background-color: var(--menu-background-color-no-backdrop);
}
/* Item */
.quick-search .dropdown-menu *.dropdown-item {
padding: 8px 12px !important;