fix problem error

This commit is contained in:
hamid zarghami
2025-12-21 10:24:08 +03:30
parent 4c5e65d71e
commit 36402ee3ee
2 changed files with 5 additions and 5 deletions
@@ -187,7 +187,7 @@ function OrderTrackingPage() {
</div> </div>
{hasServiceArea && ( {hasServiceArea && (
<div className="absolute top-4 left-4 right-4 z-[1000] max-w-sm"> <div className="absolute top-4 left-4 right-4 z-1000 max-w-sm">
<div className="bg-blue-50/90 border border-blue-200 rounded-lg p-3 shadow-sm"> <div className="bg-blue-50/90 border border-blue-200 rounded-lg p-3 shadow-sm">
<p className="text-xs text-blue-800"> <p className="text-xs text-blue-800">
محدوده سرویسدهی روی نقشه با رنگ آبی مشخص شده است محدوده سرویسدهی روی نقشه با رنگ آبی مشخص شده است
@@ -196,7 +196,7 @@ function OrderTrackingPage() {
</div> </div>
)} )}
<div className="absolute bottom-0 left-0 right-0 z-[1000]"> <div className="absolute bottom-0 left-0 right-0 z-1000">
<div className='relative w-full h-full'> <div className='relative w-full h-full'>
<ConfirmPositionModal <ConfirmPositionModal
visible={confirmModal} visible={confirmModal}
@@ -127,7 +127,7 @@ function UserAddressesPage({ }: Props) {
onClick={() => handleSetDefault(address.id)} onClick={() => handleSetDefault(address.id)}
disabled={isSettingDefault} disabled={isSettingDefault}
pending={isSettingDefault} pending={isSettingDefault}
className='!bg-background !text-foreground flex items-center gap-2 text-xs h-8 flex-1' className='bg-background! text-foreground! flex items-center gap-2 text-xs h-8 flex-1'
> >
<TickCircle variant='Bold' className='fill-foreground stroke-background size-4.5 mb-0.5' /> <TickCircle variant='Bold' className='fill-foreground stroke-background size-4.5 mb-0.5' />
تنظیم به عنوان فعال تنظیم به عنوان فعال
@@ -135,14 +135,14 @@ function UserAddressesPage({ }: Props) {
)} )}
<div className="flex gap-2"> <div className="flex gap-2">
<Link href={`address/new?id=${address.id}`}> <Link href={`address/new?id=${address.id}`}>
<Button className='!bg-background !text-foreground flex justify-center items-center gap-2 text-xs p-0! size-8!'> <Button className='bg-background! text-foreground! flex justify-center items-center gap-2 text-xs p-0! size-8!'>
<Edit2 className='stroke-foreground size-5 mb-0.5' /> <Edit2 className='stroke-foreground size-5 mb-0.5' />
</Button> </Button>
</Link> </Link>
<Button <Button
onClick={() => handleDeleteClick(address.id)} onClick={() => handleDeleteClick(address.id)}
disabled={isDeleting} disabled={isDeleting}
className='!bg-background !text-foreground flex justify-center items-center gap-2 text-xs p-0! size-8!' className='bg-background! text-foreground! flex justify-center items-center gap-2 text-xs p-0! size-8!'
> >
<Trash className='stroke-foreground size-5 mb-0.5' /> <Trash className='stroke-foreground size-5 mb-0.5' />
</Button> </Button>