Fix UI issues with special channels

As a reminder, "special" channels right now are banlists and channel lists.

- Remove that bottom margin that was causing things to hide behind the message input. This was probably relevant before the whole UI was flexbox-based and was not removed when switching.
- Do not align to bottom on special channels
- Hide unread and date markers on special channels
- Make sure table headers in special channels are not truncated, which was for example the case with "Users" being broken up ("User" and "s" on 2 different lines)
This commit is contained in:
Jérémie Astori 2017-12-17 01:14:11 -05:00
parent bf602db991
commit af4f322bf9
No known key found for this signature in database
GPG Key ID: B9A4F245CD67BDE8

View File

@ -877,10 +877,6 @@ kbd {
right: 180px; right: 180px;
} }
#chat .special {
bottom: -47px;
}
#viewport.rt .chat { #viewport.rt .chat {
right: 0; right: 0;
} }
@ -923,6 +919,9 @@ kbd {
#chat .messages { #chat .messages {
padding: 10px 0; padding: 10px 0;
touch-action: pan-y; touch-action: pan-y;
}
#chat .chan:not(.special) .messages {
margin-top: auto; margin-top: auto;
} }
@ -1039,6 +1038,15 @@ kbd {
display: none; display: none;
} }
#chat .special .date-marker-container,
#chat .special .unread-marker {
display: none;
}
#chat .special table th {
word-break: normal;
}
/* Nicknames */ /* Nicknames */
#chat .user { #chat .user {