feat(dashboard): Reflow differently. This is probably just a stop-gap until we get fully resizing widgets implemented.
This commit is contained in:
parent
d1883b339a
commit
3d6aa983dc
2 changed files with 16 additions and 2 deletions
|
|
@ -224,7 +224,12 @@ const DashboardPage = () => {
|
|||
) : widgets.length === 0 ? (
|
||||
<EmptyDashboard />
|
||||
) : (
|
||||
<div className="grid grid-cols-1 lg:grid-cols-2 gap-6 auto-rows-min">
|
||||
<div
|
||||
className="grid gap-6 auto-rows-min"
|
||||
style={{
|
||||
gridTemplateColumns: 'repeat(auto-fit, minmax(400px, 1fr))',
|
||||
}}
|
||||
>
|
||||
{widgets.map((widget) => (
|
||||
<WidgetDisplay
|
||||
key={widget.id}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue