udpated bg of widget shadow
the drop shadow behind widgets when moved around is now light blue and the corners are round.
This commit is contained in:
@@ -26,21 +26,23 @@ export default function WidgetCanvas() {
|
||||
};
|
||||
|
||||
return (
|
||||
<ResponsiveGridLayout
|
||||
className="layout"
|
||||
layout={layout}
|
||||
cols={12} // Total columns in grid
|
||||
rowHeight={30} //Height of a single row in px
|
||||
isBounded={true} // Total width of the grid
|
||||
margin={[10, 10]} // [horizontal, vertical] gap
|
||||
onLayoutChange={onLayoutChange}
|
||||
draggableHandle=".widget-handle" // Make only the header draggable
|
||||
>
|
||||
{layout.map((item) => (
|
||||
<chakra.div key={item.i} css={styles.root}>
|
||||
<Widget title="VDAP Widget" />
|
||||
</chakra.div>
|
||||
))}
|
||||
</ResponsiveGridLayout>
|
||||
<chakra.div height="100%" width="100%">
|
||||
<ResponsiveGridLayout
|
||||
className="layout"
|
||||
layout={layout}
|
||||
cols={12} // Total columns in grid
|
||||
rowHeight={30} //Height of a single row in px
|
||||
isBounded={true} // Total width of the grid
|
||||
margin={[10, 10]} // [horizontal, vertical] gap
|
||||
onLayoutChange={onLayoutChange}
|
||||
draggableHandle=".widget-handle" // Make only the header draggable
|
||||
>
|
||||
{layout.map((item) => (
|
||||
<chakra.div key={item.i} css={styles.root}>
|
||||
<Widget title="VDAP Widget" />
|
||||
</chakra.div>
|
||||
))}
|
||||
</ResponsiveGridLayout>
|
||||
</chakra.div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user