Try to more intelligently break up long messages.
Use break-word in long URLs but not otherwise.
This commit is contained in:
parent
1873c43956
commit
d316445fa0
|
@ -8402,17 +8402,21 @@ body.reset {
|
||||||
whitespace: nowrap; }
|
whitespace: nowrap; }
|
||||||
#conversejs .message.chat-msg .chat-msg-content {
|
#conversejs .message.chat-msg .chat-msg-content {
|
||||||
margin-left: 0.5rem;
|
margin-left: 0.5rem;
|
||||||
word-wrap: break-word;
|
|
||||||
width: 100%; }
|
width: 100%; }
|
||||||
#conversejs .message.chat-msg.headline .chat-msg-content {
|
#conversejs .message.chat-msg.headline .chat-msg-content {
|
||||||
margin-left: 0; }
|
margin-left: 0; }
|
||||||
#conversejs .message.chat-msg .chat-msg-text {
|
#conversejs .message.chat-msg .chat-msg-text {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
color: #666;
|
color: #666; }
|
||||||
|
#conversejs .message.chat-msg .chat-msg-text a {
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
word-break: break-all; }
|
word-break: break-all; }
|
||||||
#conversejs .message.chat-msg .chat-msg-text .emojione {
|
#conversejs .message.chat-msg .chat-msg-text .emojione {
|
||||||
margin-bottom: -6px; }
|
margin-bottom: -6px; }
|
||||||
|
#conversejs .message.chat-msg .chat-msg-media {
|
||||||
|
margin-top: 0.25rem; }
|
||||||
|
#conversejs .message.chat-msg .chat-msg-media a {
|
||||||
|
word-wrap: break-word; }
|
||||||
#conversejs .message.chat-msg .chat-msg-media audio {
|
#conversejs .message.chat-msg .chat-msg-media audio {
|
||||||
width: 100%; }
|
width: 100%; }
|
||||||
#conversejs .message.chat-msg .avatar {
|
#conversejs .message.chat-msg .avatar {
|
||||||
|
|
|
@ -8590,17 +8590,21 @@ body {
|
||||||
whitespace: nowrap; }
|
whitespace: nowrap; }
|
||||||
#conversejs .message.chat-msg .chat-msg-content {
|
#conversejs .message.chat-msg .chat-msg-content {
|
||||||
margin-left: 0.5rem;
|
margin-left: 0.5rem;
|
||||||
word-wrap: break-word;
|
|
||||||
width: 100%; }
|
width: 100%; }
|
||||||
#conversejs .message.chat-msg.headline .chat-msg-content {
|
#conversejs .message.chat-msg.headline .chat-msg-content {
|
||||||
margin-left: 0; }
|
margin-left: 0; }
|
||||||
#conversejs .message.chat-msg .chat-msg-text {
|
#conversejs .message.chat-msg .chat-msg-text {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
color: #666;
|
color: #666; }
|
||||||
|
#conversejs .message.chat-msg .chat-msg-text a {
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
word-break: break-all; }
|
word-break: break-all; }
|
||||||
#conversejs .message.chat-msg .chat-msg-text .emojione {
|
#conversejs .message.chat-msg .chat-msg-text .emojione {
|
||||||
margin-bottom: -6px; }
|
margin-bottom: -6px; }
|
||||||
|
#conversejs .message.chat-msg .chat-msg-media {
|
||||||
|
margin-top: 0.25rem; }
|
||||||
|
#conversejs .message.chat-msg .chat-msg-media a {
|
||||||
|
word-wrap: break-word; }
|
||||||
#conversejs .message.chat-msg .chat-msg-media audio {
|
#conversejs .message.chat-msg .chat-msg-media audio {
|
||||||
width: 100%; }
|
width: 100%; }
|
||||||
#conversejs .message.chat-msg .avatar {
|
#conversejs .message.chat-msg .avatar {
|
||||||
|
|
|
@ -93,7 +93,6 @@
|
||||||
}
|
}
|
||||||
.chat-msg-content {
|
.chat-msg-content {
|
||||||
margin-left: 0.5rem;
|
margin-left: 0.5rem;
|
||||||
word-wrap: break-word;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
&.headline {
|
&.headline {
|
||||||
|
@ -105,15 +104,20 @@
|
||||||
.chat-msg-text {
|
.chat-msg-text {
|
||||||
padding: 0;
|
padding: 0;
|
||||||
color: $message-text-color;
|
color: $message-text-color;
|
||||||
|
a {
|
||||||
word-wrap: break-word;
|
word-wrap: break-word;
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
|
}
|
||||||
.emojione {
|
.emojione {
|
||||||
margin-bottom: -6px;
|
margin-bottom: -6px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.chat-msg-media {
|
.chat-msg-media {
|
||||||
|
margin-top: 0.25rem;
|
||||||
|
a {
|
||||||
|
word-wrap: break-word;
|
||||||
|
}
|
||||||
audio {
|
audio {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user