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:
AI Assistant
2026-03-23 17:14:09 +02:00
parent 437d734df6
commit 2278226ff1
4 changed files with 6 additions and 5 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ import { cn } from '@/shared/lib/utils';
const SIDEBAR_COLLAPSED_KEY = 'sidebar:collapsed';
// Routes that need full viewport height and no padding (canvas tools)
const FULLSCREEN_ROUTES = ['/visual-copilot'];
const FULLSCREEN_ROUTES = ['/visual-copilot', '/geoportal'];
interface AppShellProps {
children: React.ReactNode;