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

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

@ -49,7 +49,7 @@ function Address({
</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
? "bg-blueC0 bg-opacity-5 border-blueC0"
: "bg-grayF9 border-gray45"
@ -85,8 +85,12 @@ function Address({
</li>
</div>
<div className=" flex flex-col items-center gap-y-5">
<button class="text-sm cursor-pointer">حذف</button>
<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>
<button class="text-sm w-full cursor-pointer border border-green-200 bg-green-100 px-2 py-1 rounded-sm ">
ویرایش
</button>
</div>
</button>
);

Loading…
Cancel
Save