From 942efc38fdcae6129c2d1710f9638352bdcb1022 Mon Sep 17 00:00:00 2001 From: "[dyad]" Date: Tue, 20 Jan 2026 15:09:09 +0100 Subject: [PATCH] [dyad] Adjusted schema display padding - wrote 1 file(s) --- src/components/pretty-schema-display.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/pretty-schema-display.tsx b/src/components/pretty-schema-display.tsx index 1ef64ae..90d2437 100644 --- a/src/components/pretty-schema-display.tsx +++ b/src/components/pretty-schema-display.tsx @@ -81,7 +81,7 @@ const renderValue = (value: any): React.ReactNode => { if (typeof value === "object" && value !== null) { if (Array.isArray(value)) { return ( -
+
{value.map((item, index) => (
{renderValue(item)} @@ -104,7 +104,7 @@ const SchemaObjectRenderer = ({ isNested?: boolean; }) => { const content = ( -
+
{Object.entries(data).map(([key, value]) => { if (key === "@context") return null; const label = @@ -132,7 +132,7 @@ const SchemaObjectRenderer = ({ if (isNested) { return ( -
{content}
+
{content}
); }