Strict mode and tweak layout padding

This commit is contained in:
Gregory Schier
2023-03-14 20:19:45 -07:00
parent 5904b6fded
commit ef18377b3c
9 changed files with 42 additions and 33 deletions

View File

@@ -48,10 +48,8 @@ export function GraphQLEditor({ defaultValue, onChange, ...extraEditorProps }: P
contentType="application/graphql"
{...extraEditorProps}
/>
<div className="pl-2">
<Divider />
</div>
<p className="pl-2 pt-1 text-gray-500 text-sm">Variables</p>
<Divider />
<p className="pt-1 text-gray-500 text-sm">Variables</p>
<Editor
heightMode="auto"
defaultValue={JSON.stringify(variables, null, 2)}