fix(geoportal): fullscreen route + local CSS + proper layout
- Add /geoportal to FULLSCREEN_ROUTES (overflow-hidden, no padding) - Copy maplibre-gl.css to public/ and load from same origin (avoids CDN/CSP) - Simplify layout: fill parent via h-full w-full (no negative margin hack) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -93,8 +93,7 @@ export function GeoportalModule() {
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<div className="relative -mx-4 -mt-4 sm:-mx-6 sm:-mt-6 lg:-mx-8 lg:-mt-8"
|
||||
style={{ height: "calc(100vh - 3.5rem)" }}>
|
||||
<div className="relative h-full w-full">
|
||||
{/* Full-bleed map */}
|
||||
<MapViewer
|
||||
ref={mapHandleRef}
|
||||
|
||||
Reference in New Issue
Block a user