Skip to content

Commit

Permalink
docs: update demo so root DropZone fills page
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisvxd committed Jan 16, 2025
1 parent b02d8f7 commit cfe4ca8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/demo/config/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ import { Header } from "./components/Header";

export type RootProps = DefaultRootProps;

function Root({ children, puck }: RootProps) {
function Root({ puck }: RootProps) {
return (
<div
style={{ display: "flex", flexDirection: "column", minHeight: "100vh" }}
>
<Header editMode={puck.isEditing} />
{children}
<DropZone zone="default-zone" style={{ flexGrow: 1 }} />
<Footer>
<Footer.List title="Section">
<Footer.Link href="#">Label</Footer.Link>
Expand Down

0 comments on commit cfe4ca8

Please sign in to comment.