From c453794e96d80fb8fd8567b7d024e88efb865ee9 Mon Sep 17 00:00:00 2001 From: Ozzie Gooen Date: Tue, 31 May 2022 14:14:55 -0700 Subject: [PATCH] Simple styling for arrays --- .../src/components/SquiggleChart.tsx | 37 ++++++++++--------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/packages/components/src/components/SquiggleChart.tsx b/packages/components/src/components/SquiggleChart.tsx index 3c3225d3..89eed29f 100644 --- a/packages/components/src/components/SquiggleChart.tsx +++ b/packages/components/src/components/SquiggleChart.tsx @@ -143,12 +143,8 @@ const SquiggleItem: React.FC = ({ case "symbol": return ( - - Undefined Symbol: - - - {expression.value} - + Undefined Symbol: + {expression.value} ); case "call": @@ -161,17 +157,24 @@ const SquiggleItem: React.FC = ({ return ( {expression.value.map((r, i) => ( - +
+
+

{i}

+
+
+ +
+
))}
);