From a233509587ed5b570883380ae58dea945abd3d34 Mon Sep 17 00:00:00 2001 From: KDSBrowne Date: Thu, 23 Jan 2020 16:40:02 +0000 Subject: [PATCH] fix long poll not wrapping --- .../chat/message-list/message-list-item/component.jsx | 2 +- .../chat/message-list/message-list-item/styles.scss | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bigbluebutton-html5/imports/ui/components/chat/message-list/message-list-item/component.jsx b/bigbluebutton-html5/imports/ui/components/chat/message-list/message-list-item/component.jsx index 58fc570872..b8220d1172 100644 --- a/bigbluebutton-html5/imports/ui/components/chat/message-list/message-list-item/component.jsx +++ b/bigbluebutton-html5/imports/ui/components/chat/message-list/message-list-item/component.jsx @@ -180,7 +180,7 @@ class MessageListItem extends Component { polls.forEach((poll) => { pollText = poll.text.split('
'); - pollElement.push(pollText.map(o =>
{o}
)); + pollElement.push(pollText.map(o =>
{o}
)); if (polls.length > 1) { pollElement.push( diff --git a/bigbluebutton-html5/imports/ui/components/chat/message-list/message-list-item/styles.scss b/bigbluebutton-html5/imports/ui/components/chat/message-list/message-list-item/styles.scss index 51f90c4d5b..44dfa1e261 100755 --- a/bigbluebutton-html5/imports/ui/components/chat/message-list/message-list-item/styles.scss +++ b/bigbluebutton-html5/imports/ui/components/chat/message-list/message-list-item/styles.scss @@ -165,3 +165,7 @@ .isPoll { bottom: var(--border-size-large); } + +.pollLine { + overflow-wrap: break-word; +}