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) }}