Merge pull request #4239 from matrix-org/t3chguy/break

RoomPreviewBar word-break the sender name too
pull/21833/head
Michael Telatynski 2020-03-19 17:19:44 +00:00 committed by GitHub
commit 0aedd02ddb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 3 deletions

View File

@ -25,9 +25,6 @@ limitations under the License.
h3 { h3 {
font-size: 18px; font-size: 18px;
font-weight: 600; font-weight: 600;
// break-word, with fallback to break-all, which is wider supported
word-break: break-all;
word-break: break-word;
&.mx_RoomPreviewBar_spinnerTitle { &.mx_RoomPreviewBar_spinnerTitle {
display: flex; display: flex;
@ -36,6 +33,13 @@ limitations under the License.
} }
} }
h3,
.mx_RoomPreviewBar_message p {
// break-word, with fallback to break-all, which is wider supported
word-break: break-all;
word-break: break-word;
}
.mx_Spinner { .mx_Spinner {
width: auto; width: auto;
height: auto; height: auto;