removed toolbar border and added space between between overlay message and toolbar

This commit is contained in:
ggurdin 2024-11-06 16:25:47 -05:00
parent d033547128
commit c5ffa0e037
No known key found for this signature in database
GPG key ID: A01CB41737CBB478
2 changed files with 10 additions and 16 deletions

View file

@ -491,6 +491,7 @@ class MessageOverlayController extends State<MessageSelectionOverlay>
overLayController: this,
tts: tts,
),
const SizedBox(height: 8),
SizedBox(
height: adjustedMessageHeight,
child: OverlayMessage(

View file

@ -124,10 +124,6 @@ class MessageToolbar extends StatelessWidget {
return Container(
decoration: BoxDecoration(
color: Theme.of(context).cardColor,
border: Border.all(
width: 2,
color: Theme.of(context).colorScheme.primary.withOpacity(0.5),
),
borderRadius: const BorderRadius.all(
Radius.circular(AppConfig.borderRadius),
),
@ -138,18 +134,15 @@ class MessageToolbar extends StatelessWidget {
minHeight: AppConfig.toolbarMinHeight,
// maxWidth is set by MessageSelectionOverlay
),
child: Container(
decoration: BoxDecoration(border: Border.all(color: Colors.green)),
child: Column(
mainAxisSize: MainAxisSize.min,
mainAxisAlignment: MainAxisAlignment.center,
children: [
AnimatedSize(
duration: FluffyThemes.animationDuration,
child: toolbarContent(context),
),
],
),
child: Column(
mainAxisSize: MainAxisSize.min,
mainAxisAlignment: MainAxisAlignment.center,
children: [
AnimatedSize(
duration: FluffyThemes.animationDuration,
child: toolbarContent(context),
),
],
),
);
}