From ba4118d682dafce9d0f69c0f1a422fa804aec8d7 Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Tue, 27 Jun 2023 12:33:38 -0500 Subject: [PATCH] Minor css for scripts --- src/qqq/components/scripts/ScriptDocsForm.tsx | 1 + src/qqq/components/widgets/misc/ScriptViewer.tsx | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/qqq/components/scripts/ScriptDocsForm.tsx b/src/qqq/components/scripts/ScriptDocsForm.tsx index b07836e..8296997 100644 --- a/src/qqq/components/scripts/ScriptDocsForm.tsx +++ b/src/qqq/components/scripts/ScriptDocsForm.tsx @@ -62,6 +62,7 @@ function ScriptDocsForm({helpText, exampleCode, aceEditorHeight}: Props): JSX.El width="100%" showPrintMargin={false} height="100%" + style={{borderBottomRightRadius: "1rem", borderBottomLeftRadius: "1rem"}} /> diff --git a/src/qqq/components/widgets/misc/ScriptViewer.tsx b/src/qqq/components/widgets/misc/ScriptViewer.tsx index 3dbd4f2..afd01ee 100644 --- a/src/qqq/components/widgets/misc/ScriptViewer.tsx +++ b/src/qqq/components/widgets/misc/ScriptViewer.tsx @@ -142,7 +142,7 @@ export default function ScriptViewer({scriptId, associatedScriptTableName, assoc else // MULTI AD_HOC { // todo - not yet supported - console.log(`Script Type File Mode of ${fileMode} is not yet supportred.`); + console.log(`Script Type File Mode of ${fileMode} is not yet supported.`); } setScriptTypeFileSchemaList(scriptTypeFileSchemaList); @@ -499,7 +499,7 @@ export default function ScriptViewer({scriptId, associatedScriptTableName, assoc editorProps={{$blockScrolling: true}} setOptions={{useWorker: false}} width="100%" - height="400px" + height="368px" value={getSelectedFileCode()} style={{borderTop: "1px solid lightgray", borderBottomRightRadius: "1rem"}} />