layout fixes

This commit is contained in:
Scott E. Graves 2025-03-24 13:13:36 -05:00
parent 7607fe68e2
commit c3dca76690

View File

@ -62,10 +62,16 @@ class _MountWidgetState extends State<MountWidget> {
style: TextStyle(color: textColor, fontWeight: FontWeight.bold), style: TextStyle(color: textColor, fontWeight: FontWeight.bold),
), ),
trailing: Row( trailing: Row(
mainAxisAlignment: MainAxisAlignment.end,
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
if (mount.mounted != null && !mount.mounted!) if (mount.path.isNotEmpty &&
mount.mounted != null &&
!mount.mounted!)
IconButton( IconButton(
icon: Icon(Icons.clear), icon: Icon(Icons.clear),
color: subTextColor,
onPressed: () => mount.clearMountLocation(), onPressed: () => mount.clearMountLocation(),
), ),
IconButton( IconButton(