fix both word break and pre

This commit is contained in:
Tor Hveem 2013-10-12 12:18:05 +02:00
parent 2f1e7834a3
commit 9d8bdc0dc5

View file

@ -33,7 +33,12 @@ td.prefix {
vertical-align: middle; vertical-align: middle;
padding-right: 5px; padding-right: 5px;
} }
td.message {
word-wrap: break-word;
}
.text {
white-space: pre-wrap;
}
/* Lastly, apply responsive CSS fixes as necessary */ /* Lastly, apply responsive CSS fixes as necessary */
@media (max-width: 767px) { @media (max-width: 767px) {
#footer { #footer {
@ -69,9 +74,6 @@ input#sendMessage {
height: 100%; height: 100%;
min-height: 100%; min-height: 100%;
} }
span.text {
white-space: nowrap;
}
.bufferlines { .bufferlines {
font-family: monospace; font-family: monospace;
@ -81,9 +83,6 @@ span.text {
position: relative; position: relative;
padding-bottom: 55px; padding-bottom: 55px;
} }
.text {
word-wrap: break-word;
}
.navbar-fixed-bottom { .navbar-fixed-bottom {
margin: 0 5px 0 14%; margin: 0 5px 0 14%;