Skip to content

Commit 6375a93

Browse files
committed
Add condensed paddding example
1 parent 00a07f9 commit 6375a93

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

docs/content/SplitPageLayout.mdx

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,27 @@ If you need a more flexible layout component, consider using the [PageLayout](/P
153153
</Box>
154154
```
155155

156+
### With condensed padding
157+
158+
```jsx live drafts
159+
<Box sx={{height: 320, overflowY: 'auto', border: '1px solid', borderColor: 'border.default'}}>
160+
<SplitPageLayout>
161+
<SplitPageLayout.Header padding="condensed">
162+
<Placeholder label="Header" height={64} />
163+
</SplitPageLayout.Header>
164+
<SplitPageLayout.Pane padding="condensed">
165+
<Placeholder label="Pane" height={120} />
166+
</SplitPageLayout.Pane>
167+
<SplitPageLayout.Content padding="condensed">
168+
<Placeholder label="Content" height={320} />
169+
</SplitPageLayout.Content>
170+
<SplitPageLayout.Footer padding="condensed">
171+
<Placeholder label="Footer" height={64} />
172+
</SplitPageLayout.Footer>
173+
</SplitPageLayout>
174+
</Box>
175+
```
176+
156177
### Without padding
157178

158179
```jsx live drafts

0 commit comments

Comments
 (0)