fix problems
This commit is contained in:
@@ -41,7 +41,7 @@ function BottomNavBar({ onPagerClick }: BottomNavBarProps) {
|
||||
|
||||
return (
|
||||
<div className="fixed bottom-0 left-0 w-full bg-transparent pointer-events-none">
|
||||
<div className="max-w-md mx-auto w-full aspect-[436/104] relative z-30">
|
||||
<div className="max-w-md mx-auto w-full aspect-436/104 relative z-30">
|
||||
<svg
|
||||
viewBox="0 0 436 104"
|
||||
fill="none"
|
||||
@@ -96,7 +96,7 @@ function BottomNavBar({ onPagerClick }: BottomNavBarProps) {
|
||||
isAboutRoute && 'text-foreground **:stroke-foreground'
|
||||
)}
|
||||
>
|
||||
<div className="flex-shrink-0">
|
||||
<div className="shrink-0">
|
||||
<Building
|
||||
key={`building-${buildingVariant}-${isAboutRoute}`}
|
||||
size={20}
|
||||
@@ -166,7 +166,7 @@ function BottomNavBar({ onPagerClick }: BottomNavBarProps) {
|
||||
>
|
||||
<div className="h-full px-4 grid grid-cols-5 gap-x-1 items-end">
|
||||
<div className="flex flex-col items-center gap-[5px]">
|
||||
<div className="relative flex-shrink-0">
|
||||
<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">
|
||||
{cartItemsCount > 99 ? '99+' : cartItemsCount}
|
||||
|
||||
Reference in New Issue
Block a user