Fix layout of newly added Widgets

This commit is contained in:
Daniel S. Hansen
2025-08-11 14:53:17 -07:00
parent 77bba49dc8
commit cab0fe3a0b
2 changed files with 9 additions and 4 deletions
@@ -48,7 +48,7 @@ export default function MyDashboard({layout, onLayoutChange, isEditable, isDelet
useCSSTransforms={false} // remove the sliding animation of the widgets
className="layout"
layout={layout}
cols={15} // Total columns in grid
cols={16} // Total columns in grid
rowHeight={30} // Height of a single row in px
isBounded={true} // Total width of the grid
margin={[15, 5]} // [horizontal, vertical] gap