Fix breaking layout when switching portrait/landscape modes

This re-adds the table layout in CSS removed in 3cddbbce6e, https://github.com/thelounge/lounge/pull/332.
This commit is contained in:
Jérémie Astori 2016-07-09 20:03:41 -04:00
parent 28938be10d
commit 8118d56e16

View File

@ -713,11 +713,14 @@ button {
} }
#chat .messages { #chat .messages {
display: table;
table-layout: fixed;
width: 100%; width: 100%;
padding: 10px 0; padding: 10px 0;
overflow-wrap: break-word; }
#chat .msg {
word-wrap: break-word; word-wrap: break-word;
word-break: break-word;
} }
#chat .unread-marker { #chat .unread-marker {
@ -768,7 +771,7 @@ button {
#chat .time { #chat .time {
color: #ddd; color: #ddd;
text-align: right; text-align: right;
width: 46px; max-width: 46px;
min-width: 46px; min-width: 46px;
} }