fix(planner): make the /dev/ui gallery scrollable

The app body is h-screen overflow-hidden (for the full-screen map
editor), which clipped the taller gallery so it couldn't scroll. Give
the gallery route its own full-height scroll container.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-07-15 23:57:44 +02:00
parent 5e75894372
commit 723cd8069b
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9

View file

@ -84,7 +84,8 @@ export default function DevUi() {
useState<(typeof COLOR_MODES)[number]["value"]>("elevation");
return (
<main className="mx-auto max-w-3xl space-y-10 p-10">
<main className="h-dvh overflow-y-auto">
<div className="mx-auto max-w-3xl space-y-10 p-10">
<header className="space-y-1">
<h1 className="text-2xl font-semibold text-text-hi">UI primitives</h1>
<p className="text-sm text-text-md">
@ -217,6 +218,7 @@ export default function DevUi() {
<p className="mt-1 text-sm text-text-md">Elevated with a soft shadow.</p>
</Card>
</Section>
</div>
</main>
);
}