From d65a9fcb898146a8c6e7fffa80c4c14ef81c2d12 Mon Sep 17 00:00:00 2001 From: Lucas Oliveira Date: Tue, 14 Feb 2023 19:48:34 -0300 Subject: [PATCH] Gap fixed between components at sidebar --- .../extraSidebarComponent/index.tsx | 42 ++++++++++--------- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git a/space_flow/src/pages/FlowPage/components/extraSidebarComponent/index.tsx b/space_flow/src/pages/FlowPage/components/extraSidebarComponent/index.tsx index aa70f79a6..58e944160 100644 --- a/space_flow/src/pages/FlowPage/components/extraSidebarComponent/index.tsx +++ b/space_flow/src/pages/FlowPage/components/extraSidebarComponent/index.tsx @@ -32,28 +32,30 @@ export default function ExtraSidebar() { key={i} button={{ title: toFirstUpperCase(d), Icon: nodeIcons[d] }} > - {Object.keys(data[d]).map((t, k) => ( -
-
- onDragStart(event, { - type: d, - name: t, - types: types, - node: data[d][t], - }) - } - > -
- {t} - +
+ {Object.keys(data[d]).map((t, k) => ( +
+
+ onDragStart(event, { + type: d, + name: t, + types: types, + node: data[d][t], + }) + } + > +
+ {t} + +
-
- ))} + ))} +
))}