style: adjust the position of new notification indicator

This commit is contained in:
codytseng
2025-03-05 23:20:49 +08:00
parent 76da5b3af1
commit 407a5a3f78
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ export default function NotificationsButton() {
<div className="relative">
<Bell />
{hasNewNotification && (
<div className="absolute -top-1 -right-1 w-2 h-2 bg-primary rounded-full" />
<div className="absolute -top-0.5 right-0.5 w-2 h-2 bg-primary rounded-full" />
)}
</div>
</BottomNavigationBarItem>

View File

@@ -16,7 +16,7 @@ export default function NotificationsButton() {
<div className="relative">
<Bell strokeWidth={3} />
{hasNewNotification && (
<div className="absolute -top-1 -right-1 w-2 h-2 bg-primary rounded-full" />
<div className="absolute -top-1 right-0 w-2 h-2 bg-primary rounded-full" />
)}
</div>
</SidebarItem>