fix(frontend): keep notification delete actions visible
This commit is contained in:
parent
969554bf3f
commit
da44727280
@ -437,11 +437,11 @@ export default function NotificationsPage() {
|
||||
e.stopPropagation();
|
||||
deleteNotification(notification.id);
|
||||
}}
|
||||
className="app-action-danger flex-shrink-0 rounded-lg p-2 opacity-0 transition-all group-hover:opacity-100"
|
||||
className="app-action-danger flex-shrink-0 rounded-lg p-2 transition-all"
|
||||
aria-label="Удалить"
|
||||
title="Удалить уведомление"
|
||||
>
|
||||
<Trash2 size={18} className="app-text-muted hover:text-red-600" />
|
||||
<Trash2 size={18} />
|
||||
</button>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
@ -196,7 +196,7 @@ export function NotificationCenter({ variant = 'default', isOpen: externalIsOpen
|
||||
e.stopPropagation();
|
||||
deleteNotification(notification.id);
|
||||
}}
|
||||
className="flex-shrink-0 rounded p-1.5 opacity-0 transition-all group-hover:opacity-100 hover:bg-[var(--danger-soft)]"
|
||||
className="app-action-danger flex-shrink-0 rounded p-1.5 transition-all"
|
||||
aria-label="Удалить"
|
||||
title="Удалить уведомление"
|
||||
>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user