Skip to content

Commit

Permalink
fix: styles
Browse files Browse the repository at this point in the history
  • Loading branch information
Roberto Milla Martinez committed Nov 8, 2024
1 parent 01ec187 commit 18b43ff
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/components/AddressMap.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,11 @@ export default function AddressMap({ onNewAddressDescriptor, initialAddressDescr

{isEdit.current && (
<div className="flex">
<div className="block text-sm font-medium text-gray-400">{initialAddressDescriptor?.address || ''}</div>
<div className="block text-sm font-medium text-gray-400 w-max my-auto">
{initialAddressDescriptor?.address || ''}
</div>
<button
className="ml-auto"
className="ml-auto bg-red-500 text-white rounded-lg px-2 py-1"
onClick={(e) => {
e.preventDefault();
onNewAddressDescriptor(addressDescriptor);
Expand Down Expand Up @@ -146,6 +148,7 @@ export default function AddressMap({ onNewAddressDescriptor, initialAddressDescr
}}
onNewPositionCallback={onMapNewPosition}
inputCoordinates={lngLat}
zoom={16}
/>
</div>
);
Expand Down

0 comments on commit 18b43ff

Please sign in to comment.