diff --git a/pi/ui/lib/screens/dashboard_screen.dart b/pi/ui/lib/screens/dashboard_screen.dart index 912415c..840766b 100644 --- a/pi/ui/lib/screens/dashboard_screen.dart +++ b/pi/ui/lib/screens/dashboard_screen.dart @@ -206,9 +206,7 @@ class _DashboardScreenState extends State { wsState: _wsState, ), - const SizedBox(height: 2), - - // Main content area - big stat boxes + // Main content area - big widgets Expanded( flex: 7, child: Row( diff --git a/pi/ui/lib/widgets/system_bar.dart b/pi/ui/lib/widgets/system_bar.dart index 331746f..b7ad836 100644 --- a/pi/ui/lib/widgets/system_bar.dart +++ b/pi/ui/lib/widgets/system_bar.dart @@ -49,14 +49,6 @@ class SystemBar extends StatelessWidget { return Container( padding: const EdgeInsets.symmetric(horizontal: 24), - decoration: BoxDecoration( - border: Border( - bottom: BorderSide( - color: theme.subdued.withValues(alpha: 0.3), - width: 1, - ), - ), - ), child: Row( crossAxisAlignment: CrossAxisAlignment.center, children: [ @@ -106,7 +98,7 @@ class SystemBar extends StatelessWidget { _Indicator( label: 'Mains', value: voltage != null ? '${voltage!.toStringAsFixed(1)} V' : 'N/A', - isAbnormal: voltage == null || voltage! < 11.9, + isAbnormal: voltage == null || voltage! < 11.7 || voltage! > 14.5, alignment: Alignment.centerLeft, labelSize: labelSize, valueSize: valueSize,