readd limit aspect

This commit is contained in:
Josh Hawkins 2024-05-10 10:23:07 -05:00
parent 2a3e0fd5be
commit fae65bf82c

View File

@ -363,10 +363,9 @@ 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]}
// preventCollision={true}
resizeHandles={isEditMode ? ["sw", "nw", "se", "ne"] : []} resizeHandles={isEditMode ? ["sw", "nw", "se", "ne"] : []}
onDragStop={handleLayoutChange} onDragStop={handleLayoutChange}
// onResize={handleResize} onResize={handleResize}
onResizeStop={handleLayoutChange} onResizeStop={handleLayoutChange}
> >
{includeBirdseye && birdseyeConfig?.enabled && ( {includeBirdseye && birdseyeConfig?.enabled && (