From 88878e9cbf35ffe9d4503cfd3eb838e4db99ffc1 Mon Sep 17 00:00:00 2001 From: James Ritchie Date: Fri, 18 Mar 2022 13:31:20 +0000 Subject: [PATCH] Adjusted the column widths and made the keys truncate --- app/components/JsonTreeView.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/components/JsonTreeView.tsx b/app/components/JsonTreeView.tsx index a49d714..3e310d6 100644 --- a/app/components/JsonTreeView.tsx +++ b/app/components/JsonTreeView.tsx @@ -139,7 +139,7 @@ function TreeViewNode({ : "bg-slate-200 bg-opacity-90 dark:bg-slate-800 dark:bg-opacity-30" }`} > -
+
{node.children && node.children.length > 0 && ( { @@ -170,7 +170,7 @@ function TreeViewNode({ )}
-
+
{node.icon && (