Add margin-top to MapComponent for improved layout

This commit is contained in:
zaidmukaddam 2024-11-06 20:38:02 +05:30
parent 9d42a62ed3
commit 36dd5112bf

View File

@ -88,7 +88,7 @@ const MapComponent = ({ center, places = [], zoom = 14 }: MapProps) => {
}, [places]); }, [places]);
return ( return (
<div className="w-full h-64 rounded-lg overflow-hidden shadow-lg"> <div className="w-full h-64 rounded-lg overflow-hidden shadow-lg mt-6">
<div ref={mapRef} className="w-full h-full" /> <div ref={mapRef} className="w-full h-full" />
</div> </div>
); );