feat(dashboard): Reflow differently. This is probably just a stop-gap until we get fully resizing widgets implemented.

This commit is contained in:
Willie Zutz 2025-07-19 17:41:58 -06:00
parent d1883b339a
commit 3d6aa983dc
2 changed files with 16 additions and 2 deletions

View file

@ -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}