Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/components/Playground.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ function Playground() {
</div>
</div>

<div className="flex-none h-3" />
<PlaygroundPanels />
</div>
</Layout>
Expand Down
13 changes: 7 additions & 6 deletions src/components/PlaygroundPanels.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,20 @@ function PlaygroundPanels() {

return (
<>
<div className="px-4 gap-4 flex py-2">
{panels.map((panelName) => (
<div key={panelName} className="flex items-center">
<div className="text-left space-x-2">
<div className="px-4 gap-4 flex pt-3 pb-1 h-8">
<div className="flex items-center">
<div className="text-left space-x-2">
{panels.map((panelName) => (
<TabButton
key={panelName}
onClick={() => setPanel(panelName)}
active={panelName === panel}
>
{panelName}
</TabButton>
</div>
))}
</div>
))}
</div>
</div>
<Suspense fallback={null}>
{panel === panels[0] && (
Expand Down