mirror of https://github.com/vector-im/riot-web
Merge pull request #4434 from matrix-org/t3chguy/pill-breaking
Don't break spills over multiple lines, ellipsis them at max-1-linepull/21833/head
commit
a2898b5cd8
|
@ -14,8 +14,11 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
a.mx_Pill {
|
a.mx_Pill {
|
||||||
word-break: break-all;
|
text-overflow: ellipsis;
|
||||||
display: inline;
|
white-space: nowrap;
|
||||||
|
overflow: hidden;
|
||||||
|
vertical-align: text-bottom;
|
||||||
|
max-width: calc(100% - 1ch);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* More specific to override `.markdown-body a` text-decoration */
|
/* More specific to override `.markdown-body a` text-decoration */
|
||||||
|
|
Loading…
Reference in New Issue