prevent "zalgo text" from exiting the message/bufferline

For a review of what zalgo text is and how it works, see
http://stackoverflow.com/q/6579844/659526 . Suffice to say it abuses
unicode to create a vertical mess that goes over other lines of text.
This commit is contained in:
Hannu Hartikainen 2015-12-08 22:57:53 +02:00
parent 3890875924
commit c3f00cd6bc
1 changed files with 7 additions and 0 deletions

View File

@ -29,6 +29,7 @@ td.prefix {
border-right: 1px solid #444; border-right: 1px solid #444;
} }
td.message { td.message {
overflow: hidden;
vertical-align: top; vertical-align: top;
width: 100%; width: 100%;
padding: 1px 1px 1px 5px; padding: 1px 1px 1px 5px;
@ -772,7 +773,13 @@ img.emojione {
padding-bottom: 0; padding-bottom: 0;
} }
#bufferlines tr.bufferline {
display: block;
overflow: hidden;
}
#bufferlines td.time { #bufferlines td.time {
display: inline-block;
padding-right: 3px; padding-right: 3px;
font-size: 0.8em; font-size: 0.8em;
} }