Merge pull request #4434 from matrix-org/t3chguy/pill-breaking

Don't break spills over multiple lines, ellipsis them at max-1-line
pull/21833/head
Michael Telatynski 2020-04-17 12:43:14 +01:00 committed by GitHub
commit a2898b5cd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -14,8 +14,11 @@
}
a.mx_Pill {
word-break: break-all;
display: inline;
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
vertical-align: text-bottom;
max-width: calc(100% - 1ch);
}
/* More specific to override `.markdown-body a` text-decoration */