Merge pull request #478 from thelounge/astorije/fix-landscape-switch

Fix breaking layout when switching portrait/landscape modes
This commit is contained in:
Maxime Poulin 2016-07-11 01:47:46 +00:00 committed by GitHub
commit 9ee1adbbb5

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 {
@ -769,7 +772,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;
} }