From 49544f0a2094d1a1f5228de44130bb112f6a13ff Mon Sep 17 00:00:00 2001 From: rzuasti Date: Tue, 2 Jun 2026 16:58:25 -0400 Subject: [PATCH] Make the status screen scrollable to avoid bottom overflow The status screen was a non-scrolling Column, so it overflowed whenever the offline banner consumed vertical space or the viewport was too short to fit all scanner cards. Wrap it in a SingleChildScrollView, matching the other screens. Co-Authored-By: Claude Opus 4.8 --- TODO.md | 2 +- frontend/lib/status/status_screen.dart | 32 ++++++++++++++------------ 2 files changed, 18 insertions(+), 16 deletions(-) diff --git a/TODO.md b/TODO.md index 5731f05..cff8934 100644 --- a/TODO.md +++ b/TODO.md @@ -1,7 +1,7 @@ # OOTT ToDo list - [x] Add linting to CLAUDE.md for both Rust and Dart -- [ ] Review and document the release process +- [x] Review and document the release process - [ ] Add support for push notifications to the app (iOS and Android) - [ ] Review the README.md file diff --git a/frontend/lib/status/status_screen.dart b/frontend/lib/status/status_screen.dart index bcfa426..bc96a94 100644 --- a/frontend/lib/status/status_screen.dart +++ b/frontend/lib/status/status_screen.dart @@ -11,21 +11,23 @@ class StatusScreen extends StatelessWidget { @override Widget build(BuildContext context) { - return Column( - crossAxisAlignment: CrossAxisAlignment.start, - children: [ - Text('Status', style: Theme.of(context).textTheme.headlineMedium), - const SizedBox(height: 20), - const ArpScannerCard(), - const SizedBox(height: 8), - const MdnsScannerCard(), - const SizedBox(height: 8), - const SsdpScannerCard(), - const SizedBox(height: 8), - const DhcpScannerCard(), - const SizedBox(height: 8), - const SnmpScannerCard(), - ], + return SingleChildScrollView( + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text('Status', style: Theme.of(context).textTheme.headlineMedium), + const SizedBox(height: 20), + const ArpScannerCard(), + const SizedBox(height: 8), + const MdnsScannerCard(), + const SizedBox(height: 8), + const SsdpScannerCard(), + const SizedBox(height: 8), + const DhcpScannerCard(), + const SizedBox(height: 8), + const SnmpScannerCard(), + ], + ), ); } }