Skip to content

Commit

Permalink
fix(docs): react dev tools layout
Browse files Browse the repository at this point in the history
  • Loading branch information
danilowoz committed Dec 9, 2021
1 parent d25630a commit 54eeaaa
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions website/docs/docs/advanced-usage/components.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,10 @@ export default function CustomSandpack() {
return (
<SandpackProvider template="react">
<SandpackLayout>
<SandpackPreview />
<SandpackReactDevTools style={{ flex: 1 }} />
<div style={{ display: "flex", width: "100%" }}>
<SandpackPreview />
<SandpackReactDevTools />
</div>
</SandpackLayout>
</SandpackProvider>
)
Expand Down

0 comments on commit 54eeaaa

Please sign in to comment.