edit button fixed in web | 7

temp
mahdi 3 years ago
parent 1965d362e2
commit 02c67ac152
  1. 10
      src/views/Dashboard/layouts/Main/Addresses/index.js

@ -174,13 +174,15 @@ const Location = ({
</div> </div>
{/* edit / delete button */} {/* edit / delete button */}
<div className="flex flex-col items-center gap-y-2"> <div className="flex flex-col items-center gap-y-2">
<div <Link
style={{ border: "solid 1px #12CF7F" }} style={{ border: "solid 1px #12CF7F" }}
class="w-full flex flex-row items-center justify-between px-2 py-1 rounded-sm cursor-pointer" to={"/editAddress/" + address.id}
className="w-full flex flex-row text-sm items-center justify-between px-2 py-1 rounded-sm cursor-pointer"
onClick={() => setMenu()}
> >
<button class="text-sm">ویرایش</button> ویرایش
<img src={editButton} alt="edit-address" className="w-5 mr-3 " /> <img src={editButton} alt="edit-address" className="w-5 mr-3 " />
</div> </Link>
<div <div
style={{ border: "solid 1px #fca5a5" }} style={{ border: "solid 1px #fca5a5" }}
class="w-full flex flex-row items-center justify-between px-2 py-1 rounded-sm cursor-pointer" class="w-full flex flex-row items-center justify-between px-2 py-1 rounded-sm cursor-pointer"

Loading…
Cancel
Save