From 03678cbba3aeedd2f561381893eb69200f0843f3 Mon Sep 17 00:00:00 2001 From: Kelrap Date: Wed, 31 Jul 2024 16:30:41 -0400 Subject: [PATCH] Input bar should be same height in overlay --- lib/pangea/widgets/chat/overlay_footer.dart | 40 +++++++++++---------- 1 file changed, 22 insertions(+), 18 deletions(-) diff --git a/lib/pangea/widgets/chat/overlay_footer.dart b/lib/pangea/widgets/chat/overlay_footer.dart index a571155ab..cfbd77415 100644 --- a/lib/pangea/widgets/chat/overlay_footer.dart +++ b/lib/pangea/widgets/chat/overlay_footer.dart @@ -31,26 +31,30 @@ class OverlayFooter extends StatelessWidget { maxWidth: FluffyThemes.columnWidth * 2.5, ), alignment: Alignment.center, - child: Material( - clipBehavior: Clip.hardEdge, - color: Theme.of(context).colorScheme.surfaceContainerHighest, - borderRadius: const BorderRadius.all( - Radius.circular(24), - ), - child: Column( - children: [ - const ConnectionStatusHeader(), - ITBar( - choreographer: controller.choreographer, + child: Column( + children: [ + Material( + clipBehavior: Clip.hardEdge, + color: Theme.of(context).colorScheme.surfaceContainerHighest, + borderRadius: const BorderRadius.all( + Radius.circular(24), ), - ReactionsPicker(controller), - ReplyDisplay(controller), - ChatInputRow(controller), - SizedBox( - height: (FluffyThemes.isColumnMode(context) ? 18.0 : 10.0), + child: Column( + children: [ + const ConnectionStatusHeader(), + ITBar( + choreographer: controller.choreographer, + ), + ReactionsPicker(controller), + ReplyDisplay(controller), + ChatInputRow(controller), + ], ), - ], - ), + ), + SizedBox( + height: FluffyThemes.isColumnMode(context) ? 16.0 : 8.0, + ), + ], ), ); }