update src/views/DeliveryForm/Address/index.js

temp
mahdi 2 years ago
parent 8b7cda7e78
commit db036457df
  1. 12
      src/views/DeliveryForm/Address/index.js

@ -49,7 +49,7 @@ function Address({
</button> </button>
) : ( ) : (
<button <button
className={`flex flex-row border border-solid items-center w-full px-3 py-6 rounded-md mt-4 transition-all duration-500 gap-10 border-opacity-30 dark:bg-opacity-5 ${ className={`flex flex-row justify-between border border-solid items-center w-full px-3 py-6 rounded-md mt-4 transition-all duration-500 gap-10 border-opacity-30 dark:bg-opacity-5 ${
userAddressId === address?.id userAddressId === address?.id
? "bg-blueC0 bg-opacity-5 border-blueC0" ? "bg-blueC0 bg-opacity-5 border-blueC0"
: "bg-grayF9 border-gray45" : "bg-grayF9 border-gray45"
@ -84,9 +84,13 @@ function Address({
شماره تماس:&nbsp;{address.cellphone} شماره تماس:&nbsp;{address.cellphone}
</li> </li>
</div> </div>
<div className="flex flex-col items-center gap-y-5"> <div className=" flex flex-col items-center gap-y-5">
<button class="text-sm cursor-pointer">حذف</button> <button class="text-sm w-full cursor-pointer border border-red-200 bg-red-100 px-2 py-1 rounded-sm ">
<button class="text-sm cursor-pointer">ویرایش</button> حذف
</button>
<button class="text-sm w-full cursor-pointer border border-green-200 bg-green-100 px-2 py-1 rounded-sm ">
ویرایش
</button>
</div> </div>
</button> </button>
); );

Loading…
Cancel
Save