diff --git a/src/components/inspector.tsx b/src/components/inspector.tsx index a36bdf7..b306177 100644 --- a/src/components/inspector.tsx +++ b/src/components/inspector.tsx @@ -110,7 +110,6 @@ const NodeInspector: FC = () => { def.args?.forEach((v) => { if (v.type === "json" || v.type === "json?") { const value = data.args?.[v.name]; - console.log("nameJson", v.name, value, data.args); form.setFieldValue( `args.${v.name}`, value === null ? "null" : JSON.stringify(value ?? v.default, null, 2) diff --git a/src/index.scss b/src/index.scss index f0df208..d57f5de 100644 --- a/src/index.scss +++ b/src/index.scss @@ -196,9 +196,9 @@ body { code { background-color: #6e768166; border-radius: 6px; - padding: 3px 6px; - margin: 0 3px; + padding: 0.15em 0.3em; white-space: break-spaces; + line-height: 1.8; box-sizing: border-box; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;