fix long poll not wrapping
This commit is contained in:
parent
a5e7d638b0
commit
a233509587
@ -180,7 +180,7 @@ class MessageListItem extends Component {
|
||||
|
||||
polls.forEach((poll) => {
|
||||
pollText = poll.text.split('<br/>');
|
||||
pollElement.push(pollText.map(o => <div key={_.uniqueId('chat-poll-result-')}>{o}</div>));
|
||||
pollElement.push(pollText.map(o => <div key={_.uniqueId('chat-poll-result-')} className={styles.pollLine}>{o}</div>));
|
||||
|
||||
if (polls.length > 1) {
|
||||
pollElement.push(
|
||||
|
@ -165,3 +165,7 @@
|
||||
.isPoll {
|
||||
bottom: var(--border-size-large);
|
||||
}
|
||||
|
||||
.pollLine {
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user