Update website/src/routes/notifications/NotificationItem.svelte
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
b93e4957b4
commit
00d25c7808
1 changed files with 1 additions and 1 deletions
|
|
@ -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`;
|
||||||
|
|
|
||||||
Reference in a new issue