From fff20e0cb96000c34b130b9578f2ca3201cd1d2f Mon Sep 17 00:00:00 2001 From: AI Assistant Date: Mon, 23 Mar 2026 18:13:55 +0200 Subject: [PATCH] fix(geoportal): use w-full h-full on map container (MapLibre overrides position to relative) MapLibre sets position:relative on its container element, which overrides our absolute inset-0 and causes height to collapse to 0. Using w-full h-full instead works because the parent (absolute inset-0) has a definite computed height from positioning. Co-Authored-By: Claude Opus 4.6 (1M context) --- src/modules/geoportal/components/map-viewer.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/geoportal/components/map-viewer.tsx b/src/modules/geoportal/components/map-viewer.tsx index 30caac7..ea741c5 100644 --- a/src/modules/geoportal/components/map-viewer.tsx +++ b/src/modules/geoportal/components/map-viewer.tsx @@ -571,7 +571,7 @@ export const MapViewer = forwardRef( return (
-
+
{!mapReady && (

Se incarca harta...