forked from mystiq/hydrogen-web
Merge pull request #510 from vector-im/bwindels/fix-499
move over word-break lines
This commit is contained in:
commit
7c44fb8cd4
2 changed files with 3 additions and 20 deletions
|
@ -90,6 +90,9 @@ limitations under the License.
|
||||||
.Timeline_messageSender, .Timeline_messageBody {
|
.Timeline_messageSender, .Timeline_messageBody {
|
||||||
/* reset body margin */
|
/* reset body margin */
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
/* first try break-all, then break-word, which isn't supported everywhere */
|
||||||
|
word-break: break-all;
|
||||||
|
word-break: break-word;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Timeline_message:not(.continuation) .Timeline_messageSender,
|
.Timeline_message:not(.continuation) .Timeline_messageSender,
|
||||||
|
|
|
@ -47,26 +47,6 @@ limitations under the License.
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.message-container {
|
|
||||||
flex: 0 1 auto;
|
|
||||||
/* first try break-all, then break-word, which isn't supported everywhere */
|
|
||||||
word-break: break-all;
|
|
||||||
word-break: break-word;
|
|
||||||
}
|
|
||||||
|
|
||||||
.message-container .sender {
|
|
||||||
margin: 5px 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.message-container .media {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.message-container .media > img,
|
|
||||||
.message-container .media > video {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
.AnnouncementView {
|
.AnnouncementView {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
|
Loading…
Reference in a new issue