Update website/src/routes/notifications/NotificationItem.svelte

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Face 2025-07-15 18:21:38 +03:00 committed by GitHub
parent b93e4957b4
commit 00d25c7808
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,7 +4,7 @@
function getNotificationColorClasses(type: string, isNew: boolean, isRead: boolean) { function getNotificationColorClasses(type: string, isNew: boolean, isRead: boolean) {
const base = const base =
'hover:bg-muted/50 flex items-center w-full items-start gap-4 rounded-md p-3 text-left transition-all duration-200'; 'hover:bg-muted/50 flex w-full items-start gap-4 rounded-md p-3 text-left transition-all duration-200';
if (isNew) { if (isNew) {
return `${base} bg-primary/10`; return `${base} bg-primary/10`;