fix: revert "rename to course block and fix line height for styling"
This reverts commit 77a1d67af3.
This commit is contained in:
@@ -27,7 +27,7 @@ function reorder(list, startIndex: number, endIndex: number) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function getStyle({ provided, style, isDragging }) {
|
function getStyle({ provided, style, isDragging }) {
|
||||||
/*const combined = {
|
const combined = {
|
||||||
...style,
|
...style,
|
||||||
...provided.draggableProps.style
|
...provided.draggableProps.style
|
||||||
};
|
};
|
||||||
@@ -38,8 +38,8 @@ function getStyle({ provided, style, isDragging }) {
|
|||||||
height: isDragging ? combined.height : combined.height - marginBottom,
|
height: isDragging ? combined.height : combined.height - marginBottom,
|
||||||
marginBottom
|
marginBottom
|
||||||
};
|
};
|
||||||
return withSpacing;*/
|
return withSpacing;
|
||||||
return style;
|
//return style;
|
||||||
}
|
}
|
||||||
|
|
||||||
function Item({ provided, item, style, isDragging }) {
|
function Item({ provided, item, style, isDragging }) {
|
||||||
|
|||||||
Reference in New Issue
Block a user