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

This commit is contained in:
Andras Bacsai
2025-08-19 14:29:13 +02:00
parent ea5b33b923
commit 46440f2f8a

View File

@@ -104,7 +104,7 @@
<!-- Unread Count Badge --> <!-- Unread Count Badge -->
@if ($unreadCount > 0) @if ($unreadCount > 0)
<span <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 }} {{ $unreadCount > 9 ? '9+' : $unreadCount }}
</span> </span>
@endif @endif
@@ -131,7 +131,7 @@
</div> </div>
<span <span
class="bg-error text-white text-xs rounded-full w-5 h-5 flex items-center justify-center"> 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> </span>
</button> </button>
@else @else