style: adjust the position of new notification indicator
This commit is contained in:
@@ -15,7 +15,7 @@ export default function NotificationsButton() {
|
|||||||
<div className="relative">
|
<div className="relative">
|
||||||
<Bell />
|
<Bell />
|
||||||
{hasNewNotification && (
|
{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>
|
</div>
|
||||||
</BottomNavigationBarItem>
|
</BottomNavigationBarItem>
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ export default function NotificationsButton() {
|
|||||||
<div className="relative">
|
<div className="relative">
|
||||||
<Bell strokeWidth={3} />
|
<Bell strokeWidth={3} />
|
||||||
{hasNewNotification && (
|
{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>
|
</div>
|
||||||
</SidebarItem>
|
</SidebarItem>
|
||||||
|
|||||||
Reference in New Issue
Block a user