From 7cbf1a39375877eb416113c35db0ad32ec204372 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Fri, 14 Mar 2025 19:06:25 -0500 Subject: [PATCH] Create management portal in Flutter #39 --- web/repertory/lib/screens/add_mount_screen.dart | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/web/repertory/lib/screens/add_mount_screen.dart b/web/repertory/lib/screens/add_mount_screen.dart index ed0688c4..ac2ec6cc 100644 --- a/web/repertory/lib/screens/add_mount_screen.dart +++ b/web/repertory/lib/screens/add_mount_screen.dart @@ -56,6 +56,7 @@ class _AddMountScreenState extends State { mainAxisSize: MainAxisSize.max, children: [ Card( + margin: EdgeInsets.all(0.0), child: Padding( padding: const EdgeInsets.all(constants.padding), child: Row( @@ -84,10 +85,9 @@ class _AddMountScreenState extends State { ), ), ), - if (_mountType.isNotEmpty) - const SizedBox(height: constants.padding), if (_mountType.isNotEmpty) Card( + margin: EdgeInsets.all(0.0), child: Padding( padding: const EdgeInsets.all(constants.padding), child: Column( @@ -113,6 +113,7 @@ class _AddMountScreenState extends State { if (_mount != null) Expanded( child: Card( + margin: EdgeInsets.all(0.0), child: Padding( padding: const EdgeInsets.all(constants.padding), child: MountSettingsWidget( @@ -124,6 +125,7 @@ class _AddMountScreenState extends State { ), ), ), + if (_mount != null) const SizedBox(height: constants.padding), if (_mount != null) Builder( builder: (context) {