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:
parent
5e75894372
commit
723cd8069b
1 changed files with 3 additions and 1 deletions
|
|
@ -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>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue