diff --git a/bytedesk_kefu/lib/ui/chat/widget/message_widget.dart b/bytedesk_kefu/lib/ui/chat/widget/message_widget.dart index d041302..73c8519 100755 --- a/bytedesk_kefu/lib/ui/chat/widget/message_widget.dart +++ b/bytedesk_kefu/lib/ui/chat/widget/message_widget.dart @@ -754,13 +754,15 @@ class MessageWidget extends StatelessWidget { return Row( mainAxisAlignment: MainAxisAlignment.center, children: [ - Container( - padding: EdgeInsets.only(bottom: 5, top: 5), - child: Text( - message!.content ?? '', - textAlign: TextAlign.center, - style: TextStyle(fontSize: 10.0,color: Color(0xFF333333)), - maxLines: 15, + Expanded( + child: Container( + padding: EdgeInsets.only(bottom: 5, top: 5), + child: Text( + message!.content ?? '', + textAlign: TextAlign.center, + style: TextStyle(fontSize: 10.0,color: Color(0xFF333333)), + maxLines: 15, + ), ), ) ],