🐛 Fix dashboard customize issue

This commit is contained in:
2026-01-17 16:04:18 +08:00
parent aeea90226a
commit e832f3fd93

View File

@@ -357,6 +357,11 @@ class _DashboardGridWide extends HookConsumerWidget {
children.add(DashboardRenderer.buildColumn(columnId, ref));
}
// If no children, add a SizedBox.expand to maintain width
if (children.isEmpty) {
children.add(SizedBox(width: MediaQuery.sizeOf(context).width));
}
return Row(spacing: 16, children: children);
}
}