From 147cf31f0f7923ff86d187fe850721f82db861ae Mon Sep 17 00:00:00 2001 From: padreug Date: Sat, 9 Aug 2025 23:51:35 +0200 Subject: [PATCH] style: Update Badge colors in Navbar and ChatComponent for better visibility - Change Badge background color from red to blue in both Navbar and ChatComponent to enhance visual consistency and improve user experience. - Ensure that unread message indicators are more visually appealing and aligned with the overall design theme. --- src/components/layout/Navbar.vue | 4 ++-- src/components/nostr/ChatComponent.vue | 10 +++++----- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/components/layout/Navbar.vue b/src/components/layout/Navbar.vue index af04301..1232946 100644 --- a/src/components/layout/Navbar.vue +++ b/src/components/layout/Navbar.vue @@ -101,7 +101,7 @@ const handleLogout = async () => {
+ class="absolute -top-2 -right-2 h-3.5 w-4 text-xs bg-blue-500 text-white border-0 p-0 flex items-center justify-center"> {{ totalUnreadMessages > 99 ? '99+' : totalUnreadMessages }}
@@ -181,7 +181,7 @@ const handleLogout = async () => { Chat + class="absolute -top-1 -right-1 h-4 w-4 text-xs bg-blue-500 text-white border-0 p-0 flex items-center justify-center rounded-full"> {{ totalUnreadMessages > 99 ? '99+' : totalUnreadMessages }} diff --git a/src/components/nostr/ChatComponent.vue b/src/components/nostr/ChatComponent.vue index d971451..b301806 100644 --- a/src/components/nostr/ChatComponent.vue +++ b/src/components/nostr/ChatComponent.vue @@ -13,7 +13,7 @@ Disconnected - + {{ totalUnreadCount }} unread @@ -91,7 +91,7 @@
- + {{ getUnreadCount(peer.pubkey) > 99 ? '99+' : getUnreadCount(peer.pubkey) }}
@@ -133,7 +133,7 @@ Disconnected
- + {{ getUnreadCount(selectedPeer.pubkey) }} unread @@ -198,7 +198,7 @@ Disconnected - + {{ totalUnreadCount }} unread @@ -278,7 +278,7 @@
- + {{ getUnreadCount(peer.pubkey) > 99 ? '99+' : getUnreadCount(peer.pubkey) }}