@@ -855,7 +855,7 @@ class MessageWithPossibleSender extends StatelessWidget {
855
855
856
856
final Widget ? senderRow = item.showSender
857
857
? Padding (
858
- padding: const EdgeInsets .fromLTRB ( 3 , 6 , 11 , 0 ),
858
+ padding: const EdgeInsets .only (top : 6 , left : 16 , right : 16 ),
859
859
child: Row (
860
860
mainAxisAlignment: MainAxisAlignment .spaceBetween,
861
861
crossAxisAlignment: CrossAxisAlignment .baseline,
@@ -896,23 +896,26 @@ class MessageWithPossibleSender extends StatelessWidget {
896
896
return GestureDetector (
897
897
behavior: HitTestBehavior .translucent,
898
898
onLongPress: () => showMessageActionSheet (context: context, message: message),
899
- child: Padding (
900
- padding: const EdgeInsets .only (top: 2 , bottom: 3 , left: 8 , right: 8 ),
901
- child: Row (crossAxisAlignment: CrossAxisAlignment .start, children: [
902
- Expanded (
903
- child: Column (
904
- crossAxisAlignment: CrossAxisAlignment .stretch,
905
- children: [
906
- if (senderRow != null ) ...[
907
- const SizedBox (height: 3 ),
908
- senderRow,
909
- const SizedBox (height: 4 ),
910
- ],
911
- MessageContent (message: message, content: item.content),
912
- if ((message.reactions? .total ?? 0 ) > 0 )
913
- ReactionChipsList (messageId: message.id, reactions: message.reactions! )
914
- ])),
915
- ])));
899
+ child: Column (
900
+ children: [
901
+ if (senderRow != null ) senderRow,
902
+ Row (
903
+ crossAxisAlignment: CrossAxisAlignment .start,
904
+ children: [
905
+ const SizedBox (width: 16 ),
906
+ Expanded (
907
+ child: Padding (
908
+ padding: const EdgeInsets .symmetric (vertical: 4 ),
909
+ child: Column (
910
+ crossAxisAlignment: CrossAxisAlignment .stretch,
911
+ children: [
912
+ MessageContent (message: message, content: item.content),
913
+ if ((message.reactions? .total ?? 0 ) > 0 )
914
+ ReactionChipsList (messageId: message.id, reactions: message.reactions! )
915
+ ]))),
916
+ const SizedBox (width: 16 ),
917
+ ]),
918
+ ]));
916
919
}
917
920
}
918
921
0 commit comments