From c3dca766904f8bc944aa5aa5e5ba6058871ef0a8 Mon Sep 17 00:00:00 2001 From: "Scott E. Graves" Date: Mon, 24 Mar 2025 13:13:36 -0500 Subject: [PATCH] layout fixes --- web/repertory/lib/widgets/mount_widget.dart | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/web/repertory/lib/widgets/mount_widget.dart b/web/repertory/lib/widgets/mount_widget.dart index 9495f5bf..cd3ec3c6 100644 --- a/web/repertory/lib/widgets/mount_widget.dart +++ b/web/repertory/lib/widgets/mount_widget.dart @@ -62,10 +62,16 @@ class _MountWidgetState extends State { style: TextStyle(color: textColor, fontWeight: FontWeight.bold), ), trailing: Row( + mainAxisAlignment: MainAxisAlignment.end, + mainAxisSize: MainAxisSize.min, + crossAxisAlignment: CrossAxisAlignment.start, children: [ - if (mount.mounted != null && !mount.mounted!) + if (mount.path.isNotEmpty && + mount.mounted != null && + !mount.mounted!) IconButton( icon: Icon(Icons.clear), + color: subTextColor, onPressed: () => mount.clearMountLocation(), ), IconButton(