Merge pull request #510 from vector-im/bwindels/fix-499

move over word-break lines
This commit is contained in:
Bruno Windels 2021-09-24 18:44:41 +02:00 committed by GitHub
commit 7c44fb8cd4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 20 deletions

View file

@ -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,

View file

@ -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;