Merge pull request #478 from thelounge/astorije/fix-landscape-switch
Fix breaking layout when switching portrait/landscape modes
This commit is contained in:
commit
9ee1adbbb5
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user