removed toolbar border and added space between between overlay message and toolbar
This commit is contained in:
parent
d033547128
commit
c5ffa0e037
2 changed files with 10 additions and 16 deletions
|
|
@ -491,6 +491,7 @@ class MessageOverlayController extends State<MessageSelectionOverlay>
|
|||
overLayController: this,
|
||||
tts: tts,
|
||||
),
|
||||
const SizedBox(height: 8),
|
||||
SizedBox(
|
||||
height: adjustedMessageHeight,
|
||||
child: OverlayMessage(
|
||||
|
|
|
|||
|
|
@ -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),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue