From 76d429fb742d937279de7caaaf5031596e2b3267 Mon Sep 17 00:00:00 2001
From: Andras Bacsai <5845193+andrasbacsai@users.noreply.github.com>
Date: Thu, 2 Jul 2026 12:35:28 +0200
Subject: [PATCH] fix(sidebar): center unread badge in settings menu
---
resources/views/livewire/settings-dropdown.blade.php | 2 +-
tests/Feature/SidebarNavigationPreferencesTest.php | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/resources/views/livewire/settings-dropdown.blade.php b/resources/views/livewire/settings-dropdown.blade.php
index d40d6778e..7006665b5 100644
--- a/resources/views/livewire/settings-dropdown.blade.php
+++ b/resources/views/livewire/settings-dropdown.blade.php
@@ -114,7 +114,7 @@ class="relative text-left menu-item">
@if ($unreadCount > 0)
{{ $unreadCount > 9 ? '9+' : $unreadCount }}
diff --git a/tests/Feature/SidebarNavigationPreferencesTest.php b/tests/Feature/SidebarNavigationPreferencesTest.php
index c341d9529..fd667552d 100644
--- a/tests/Feature/SidebarNavigationPreferencesTest.php
+++ b/tests/Feature/SidebarNavigationPreferencesTest.php
@@ -28,6 +28,7 @@
->toContain('wire:click="openWhatsNewModal"')
->toContain('class="relative text-left menu-item"')
->toContain('class="text-left menu-item-label"')
+ ->toContain('class="absolute right-2 top-1/2 -translate-y-1/2 bg-error')
->toContain("What's New")
->toContain('M9.813 15.904 9 18.75')
->not->toContain('Changelog')