diff --git a/bytedesk_kefu/lib/ui/chat/page/chat_kf_page.dart b/bytedesk_kefu/lib/ui/chat/page/chat_kf_page.dart index 83d16e0..0bf927e 100755 --- a/bytedesk_kefu/lib/ui/chat/page/chat_kf_page.dart +++ b/bytedesk_kefu/lib/ui/chat/page/chat_kf_page.dart @@ -572,11 +572,11 @@ class _ChatKFPageState extends State showGood? Positioned( top: 0, child:Container( - width: 300, - margin: EdgeInsets.all(10), + width: MediaQuery.of(context).size.width, + padding: EdgeInsets.symmetric(vertical: 10), decoration: BoxDecoration( - color: Color(0xFFe5f9ff).withOpacity(0.8), + color: Color(0xFFe5f9ff), borderRadius: BorderRadius.all(Radius.circular(5)), ), child: Row( diff --git a/bytedesk_kefu/lib/ui/chat/widget/message_widget.dart b/bytedesk_kefu/lib/ui/chat/widget/message_widget.dart index dbcf284..be80b64 100755 --- a/bytedesk_kefu/lib/ui/chat/widget/message_widget.dart +++ b/bytedesk_kefu/lib/ui/chat/widget/message_widget.dart @@ -253,15 +253,15 @@ class MessageWidget extends StatelessWidget { overflow: TextOverflow.ellipsis, ), ), - Container( - margin: EdgeInsets.only(top: 10, left: 8), - child: Text( - '$content', - style: TextStyle(fontSize: 12, color: Colors.grey), - maxLines: 1, - overflow: TextOverflow.ellipsis, - ), - ) + // Container( + // margin: EdgeInsets.only(top: 10, left: 8), + // child: Text( + // '$content', + // style: TextStyle(fontSize: 12, color: Colors.grey), + // maxLines: 1, + // overflow: TextOverflow.ellipsis, + // ), + // ) // Gaps.vGap4, ], ), @@ -689,15 +689,15 @@ class MessageWidget extends StatelessWidget { overflow: TextOverflow.ellipsis, ), ), - Container( - margin: EdgeInsets.only(top: 10, left: 8), - child: Text( - '$content', - style: TextStyle(fontSize: 12, color: Colors.grey), - maxLines: 1, - overflow: TextOverflow.ellipsis, - ), - ) + // Container( + // margin: EdgeInsets.only(top: 10, left: 8), + // child: Text( + // '$content', + // style: TextStyle(fontSize: 12, color: Colors.grey), + // maxLines: 1, + // overflow: TextOverflow.ellipsis, + // ), + // ) // Gaps.vGap4, ], ),