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

This commit is contained in:
Adorian Doran 2025-12-25 04:10:16 +02:00
parent ab0a0d3807
commit 51242f9bcb

View File

@ -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 */