From 0273a239139c0f3c0ad773ed8ab1cd4ad8d22fa3 Mon Sep 17 00:00:00 2001 From: knownotunknown <78577376+knownotunknown@users.noreply.github.com> Date: Fri, 2 Feb 2024 19:59:52 -0600 Subject: [PATCH] fix: revert "rename to course block and fix line height for styling" This reverts commit 77a1d67af34380dbbec6e75a443ce57b3d5b0e77. --- src/views/components/common/List/List.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/components/common/List/List.tsx b/src/views/components/common/List/List.tsx index dce79d0d..0d02e4ff 100644 --- a/src/views/components/common/List/List.tsx +++ b/src/views/components/common/List/List.tsx @@ -27,7 +27,7 @@ function reorder(list, startIndex: number, endIndex: number) { } function getStyle({ provided, style, isDragging }) { - /*const combined = { + const combined = { ...style, ...provided.draggableProps.style }; @@ -38,8 +38,8 @@ function getStyle({ provided, style, isDragging }) { height: isDragging ? combined.height : combined.height - marginBottom, marginBottom }; - return withSpacing;*/ - return style; + return withSpacing; + //return style; } function Item({ provided, item, style, isDragging }) {