Skip to content

Build your personal knowledge base with Trilium Notes

style/menus: ignore the disabled destructive menu items from being highlighted with red

Adorian Doran51242f9bcbb6
diff --git a/apps/client/src/stylesheets/theme-next/base.css b/apps/client/src/stylesheets/theme-next/base.css
index 982794a68c..c55e707b27 100644
--- a/apps/client/src/stylesheets/theme-next/base.css
+++ b/apps/client/src/stylesheets/theme-next/base.css
@@ -234,8 +234,8 @@ html body .dropdown-item[disabled] {
opacity: var(--menu-item-disabled-opacity);
}
-.dropdown-item .destructive-action-icon,
-.dropdown-item .bx-trash {
+.dropdown-item:not(.disabled) .destructive-action-icon,
+.dropdown-item:not(.disabled) .bx-trash {
--menu-item-icon-color: var(--dropdown-item-icon-destructive-color);
}
/* Badges */