no compacting

This commit is contained in:
Josh Hawkins 2024-05-10 10:04:00 -05:00
parent e36c21853f
commit 706c360f96

View File

@ -363,6 +363,7 @@ export default function DraggableGridLayout({
cols={{ lg: 12, md: 12, sm: 12, xs: 12, xxs: 12 }} cols={{ lg: 12, md: 12, sm: 12, xs: 12, xxs: 12 }}
margin={[marginValue, marginValue]} margin={[marginValue, marginValue]}
containerPadding={[0, isEditMode ? 6 : 3]} containerPadding={[0, isEditMode ? 6 : 3]}
compactType={null}
resizeHandles={isEditMode ? ["sw", "nw", "se", "ne"] : []} resizeHandles={isEditMode ? ["sw", "nw", "se", "ne"] : []}
onDragStop={handleLayoutChange} onDragStop={handleLayoutChange}
onResize={handleResize} onResize={handleResize}
@ -415,15 +416,6 @@ export default function DraggableGridLayout({
</LivePlayerGridItem> </LivePlayerGridItem>
); );
})} })}
{/* <div
key="test"
data-grid={{ x: 4, y: 0, w: 8, h: 8 }}
className=" bg-green-500"
>
<div className="size-full bg-green-500">
<img src="https://placehold.co/2560x720" />
</div>
</div> */}
</ResponsiveGridLayout> </ResponsiveGridLayout>
{isDesktop && ( {isDesktop && (
<div <div