From cc7138949cf77d1bcf1520633d669e939540575e Mon Sep 17 00:00:00 2001 From: Razboy20 Date: Sat, 17 Feb 2024 12:59:43 -0600 Subject: [PATCH] fix: margins on list component --- src/views/components/common/List/List.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/components/common/List/List.tsx b/src/views/components/common/List/List.tsx index 8f2f24b5..c61314d4 100644 --- a/src/views/components/common/List/List.tsx +++ b/src/views/components/common/List/List.tsx @@ -135,8 +135,7 @@ const List: React.FC = ({ draggableElements, itemHeight, listHeight,
{items.map((item, index) => ( @@ -150,7 +149,9 @@ const List: React.FC = ({ draggableElements, itemHeight, listHeight, marginBottom: `${gap}px`, }} > - {React.cloneElement(item.content, { dragHandleProps: draggableProvided.dragHandleProps })} + {React.cloneElement(item.content, { + dragHandleProps: draggableProvided.dragHandleProps, + })}
)}