badge cart
This commit is contained in:
@@ -167,7 +167,7 @@ function BottomNavBar({ onPagerClick }: BottomNavBarProps) {
|
||||
<div className="flex flex-col items-center gap-[5px]">
|
||||
<div className="relative shrink-0">
|
||||
<div className="w-5 h-5 opacity-0"></div>
|
||||
<span className="absolute -top-1 -right-1 flex items-center justify-center min-w-[18px] h-[18px] px-1 text-[10px] font-medium text-white bg-primary rounded-full z-50">
|
||||
<span className="absolute sm:-top-1 sm:-right-1 top-0 -right-1 flex items-center justify-center min-w-[14px] min-h-[14px] px-1 text-[8px] font-medium text-white bg-primary rounded-full z-50">
|
||||
{cartItemsCount > 99 ? '99+' : cartItemsCount}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user