mirror of
https://github.com/rzuasti/oott.git
synced 2026-07-08 19:21:54 +02:00
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 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.8
parent
4a1fe60ec3
commit
49544f0a20
@@ -1,7 +1,7 @@
|
|||||||
# OOTT ToDo list
|
# OOTT ToDo list
|
||||||
|
|
||||||
- [x] Add linting to CLAUDE.md for both Rust and Dart
|
- [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)
|
- [ ] Add support for push notifications to the app (iOS and Android)
|
||||||
- [ ] Review the README.md file
|
- [ ] Review the README.md file
|
||||||
|
|
||||||
|
|||||||
@@ -11,21 +11,23 @@ class StatusScreen extends StatelessWidget {
|
|||||||
|
|
||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Column(
|
return SingleChildScrollView(
|
||||||
crossAxisAlignment: CrossAxisAlignment.start,
|
child: Column(
|
||||||
children: [
|
crossAxisAlignment: CrossAxisAlignment.start,
|
||||||
Text('Status', style: Theme.of(context).textTheme.headlineMedium),
|
children: [
|
||||||
const SizedBox(height: 20),
|
Text('Status', style: Theme.of(context).textTheme.headlineMedium),
|
||||||
const ArpScannerCard(),
|
const SizedBox(height: 20),
|
||||||
const SizedBox(height: 8),
|
const ArpScannerCard(),
|
||||||
const MdnsScannerCard(),
|
const SizedBox(height: 8),
|
||||||
const SizedBox(height: 8),
|
const MdnsScannerCard(),
|
||||||
const SsdpScannerCard(),
|
const SizedBox(height: 8),
|
||||||
const SizedBox(height: 8),
|
const SsdpScannerCard(),
|
||||||
const DhcpScannerCard(),
|
const SizedBox(height: 8),
|
||||||
const SizedBox(height: 8),
|
const DhcpScannerCard(),
|
||||||
const SnmpScannerCard(),
|
const SizedBox(height: 8),
|
||||||
],
|
const SnmpScannerCard(),
|
||||||
|
],
|
||||||
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user