From 605a38d8abbd6d64d30bd1c1d3bf106b8acdc9ca Mon Sep 17 00:00:00 2001 From: Matt Aitken Date: Tue, 13 Jun 2023 18:16:07 +0100 Subject: [PATCH] Trying to make a good layout for the test page --- .../webapp/app/components/code/JSONEditor.tsx | 5 ++++- .../route.tsx | 22 +++++++++++-------- 2 files changed, 17 insertions(+), 10 deletions(-) diff --git a/apps/webapp/app/components/code/JSONEditor.tsx b/apps/webapp/app/components/code/JSONEditor.tsx index ace2e4b35..326ab6065 100644 --- a/apps/webapp/app/components/code/JSONEditor.tsx +++ b/apps/webapp/app/components/code/JSONEditor.tsx @@ -87,7 +87,10 @@ export function JSONEditor(opts: JSONEditorProps) { return (
{ if (!onBlur) return; diff --git a/apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.jobs.$jobParam.test/route.tsx b/apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.jobs.$jobParam.test/route.tsx index 843370d98..83a92e082 100644 --- a/apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.jobs.$jobParam.test/route.tsx +++ b/apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.jobs.$jobParam.test/route.tsx @@ -167,9 +167,9 @@ export default function Page() { } return ( -
+
submitForm(e)} @@ -224,13 +224,17 @@ export default function Page() {
- (currentJson.current = v)} - /> - {payload.error} +
+ (currentJson.current = v)} + minHeight="300px" + maxHeight="100%" + /> + {payload.error} +