dark mode fix in safari

This commit is contained in:
hamid zarghami
2025-12-27 16:14:02 +03:30
parent ad5bb7bf27
commit 397483f47e
5 changed files with 23 additions and 12 deletions
+1 -1
View File
@@ -182,7 +182,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 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">
<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 dark:bg-white dark:text-black bg-primary rounded-full z-50">
{cartItemsCount > 99 ? '99+' : cartItemsCount}
</span>
</div>