fix(settings-dropdown): adjust unread count badge size and display logic for better consistency
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user