improve playground padding on the website

This commit is contained in:
Vyacheslav Matyukhin 2022-07-23 21:14:12 +04:00
parent 85a1223f63
commit b9dc7c7033
No known key found for this signature in database
GPG Key ID: 3D2A774C5489F96C
2 changed files with 2 additions and 1 deletions

View File

@ -533,7 +533,7 @@ export const SquigglePlayground: FC<PlaygroundProps> = ({
<SquiggleContainer> <SquiggleContainer>
<StyledTab.Group> <StyledTab.Group>
<div className="pb-4"> <div className="pb-4">
<div className="flex justify-between items-center mt-2"> <div className="flex justify-between items-center">
<StyledTab.List> <StyledTab.List>
<StyledTab <StyledTab
name={vars.showEditor ? "Code" : "Display"} name={vars.showEditor ? "Code" : "Display"}

View File

@ -57,6 +57,7 @@ export default function PlaygroundPage() {
<div <div
style={{ style={{
maxWidth: 2000, maxWidth: 2000,
padding: 8,
}} }}
> >
<SquigglePlayground {...playgroundProps} /> <SquigglePlayground {...playgroundProps} />