update src/views/Dashboard/layouts/Main/Addresses/index.js, src/views/Dashboard/layouts/Mobile/ProfileAddress/index.js and Order.js

temp
mahdi 2 years ago
parent d09c06c247
commit df6354d51d
  1. 4
      src/views/Dashboard/layouts/Main/Addresses/index.js
  2. 2
      src/views/Dashboard/layouts/Mobile/ProfileAddress/index.js

@ -30,7 +30,7 @@ const ProfileAddress = ({
}, []);
return (
<div className={`flex-1 ${isMobile ? "" : "w-1/2"} mx-auto`}>
<div className={`flex-1 ${isMobile ? "" : "w-1/2"} mx-auto `}>
<div className={`p-0 m-0 flex flex-col mb-4`}>
{addresses.map((address, index) => (
<Location
@ -55,7 +55,7 @@ const ProfileAddress = ({
const Location = ({ address, active, userId, isDark, update }) => {
return (
<div
className={`flex items-center w-full px-3 py-4 rounded-md mt-2 border-2 border-solid ${
className={`flex items-center w-full px-3 py-4 rounded-md mt-5 border-2 border-solid ${
active
? "border-gray-300 bg-blueC0 bg-opacity-5"
: "border-green-400 bg-white"

@ -122,7 +122,7 @@ const Location = ({
return (
<div
className={`bg-opacity-5 border border-solid flex flex-row items-center w-full px-3 py-2 rounded-md relative ${
className={`bg-opacity-5 border border-solid flex flex-row items-center w-full px-3 py-2 rounded-md relative ${
active ? "bg-blueC0 border-blueC0" : "bg-gray-300 border-gray-300"
}`}
onClick={() =>

Loading…
Cancel
Save