fix(geoportal): use absolute positioning to fill main (fixes h-full/flex-1 chain)

height: 100% doesn't work when the parent gets its height from flex-1
(flexbox-computed, not explicit height). Fixed by adding position:relative
to main in fullscreen mode and using absolute inset-0 on the geoportal
container.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
AI Assistant
2026-03-23 17:23:55 +02:00
parent 2278226ff1
commit 1a9ed1ef76
2 changed files with 2 additions and 2 deletions
@@ -93,7 +93,7 @@ export function GeoportalModule() {
}, []);
return (
<div className="relative h-full w-full">
<div className="absolute inset-0">
{/* Full-bleed map */}
<MapViewer
ref={mapHandleRef}