Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

fix(settings-dropdown): adjust unread count badge size and display logic for better consistency

Andras Bacsai46440f2f8aa9
diff --git a/resources/views/livewire/settings-dropdown.blade.php b/resources/views/livewire/settings-dropdown.blade.php
index f79dbc6705..c67e029235 100644
--- a/resources/views/livewire/settings-dropdown.blade.php
+++ b/resources/views/livewire/settings-dropdown.blade.php
@@ -104,7 +104,7 @@
<!-- Unread Count Badge -->
@if ($unreadCount > 0)
<span
- class="absolute -top-1 -right-1 bg-error text-white text-xs rounded-full w-4 h-4 flex items-center justify-center">
+ class="absolute -top-1 -right-1 bg-error text-white text-xs rounded-full w-4.5 h-4.5 flex items-center justify-center">
{{ $unreadCount > 9 ? '9+' : $unreadCount }}
</span>
@endif
@@ -131,7 +131,7 @@
</div>
<span
class="bg-error text-white text-xs rounded-full w-5 h-5 flex items-center justify-center">
- {{ $unreadCount > 9 ? '*' : $unreadCount }}
+ {{ $unreadCount > 9 ? '9+' : $unreadCount }}
</span>
</button>
@else