diff --git a/lib/widgets/chat/chat_message.dart b/lib/widgets/chat/chat_message.dart index 74e5517..547c9f1 100644 --- a/lib/widgets/chat/chat_message.dart +++ b/lib/widgets/chat/chat_message.dart @@ -251,9 +251,12 @@ class _ChatMessageText extends StatelessWidget { buttonItems: items, ); }, - child: MarkdownTextContent( - content: data.body['text'], - isAutoWarp: true, + child: Container( + constraints: const BoxConstraints(maxWidth: 480), + child: MarkdownTextContent( + content: data.body['text'], + isAutoWarp: true, + ), ), ), if (data.updatedAt != data.createdAt)