Pilot Map Container Screen Height fix

This commit is contained in:
nocnico
2025-06-09 03:15:03 +02:00
parent fc3272bca5
commit 2447ea5f0c

View File

@@ -12,9 +12,9 @@ const Map = dynamic(() => import("../_components/map/Map"), {
const DispatchPage = () => { const DispatchPage = () => {
return ( return (
<div className="relative flex-1 flex transition-all duration-500 ease w-full"> <div className="relative flex-1 flex transition-all duration-500 ease w-full h-screen overflow-hidden">
{/* <MapToastCard2 /> */} {/* <MapToastCard2 /> */}
<div className="flex flex-1 relative w-full"> <div className="flex flex-1 relative w-full h-full">
<div className="absolute left-0 top-1/2 transform -translate-y-1/2 pl-4 z-999999"> <div className="absolute left-0 top-1/2 transform -translate-y-1/2 pl-4 z-999999">
<Chat /> <Chat />
<div className="mt-2"> <div className="mt-2">
@@ -22,9 +22,11 @@ const DispatchPage = () => {
</div> </div>
</div> </div>
<div className="flex w-2/3 h-full"> <div className="flex w-2/3 h-full">
<div className="flex flex-1 h-full">
<Map /> <Map />
<ConnectedDispatcher /> <ConnectedDispatcher />
</div> </div>
</div>
<div className="flex w-1/3 h-full"> <div className="flex w-1/3 h-full">
<div className="flex flex-col w-full h-full p-4 bg-base-300"> <div className="flex flex-col w-full h-full p-4 bg-base-300">
<h2 className="card-title mb-2">MRT & DME</h2> <h2 className="card-title mb-2">MRT & DME</h2>