Merge pull request #2160 from thelounge/xpaw/flexbugs

Fix chat and userlist not scrolling
This commit is contained in:
Jérémie Astori 2018-03-06 19:42:15 -05:00 committed by GitHub
commit 6dbc6eb842
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 6 deletions

View File

@ -257,8 +257,16 @@ kbd {
} }
#viewport .lt::before { content: "\f0c9"; /* http://fontawesome.io/icon/bars/ */ } #viewport .lt::before { content: "\f0c9"; /* http://fontawesome.io/icon/bars/ */ }
#viewport .rt::before { content: "\f0c0"; /* http://fontawesome.io/icon/users/ */ }
#chat button.menu::before { content: "\f142"; /* http://fontawesome.io/icon/ellipsis-v/ */ } #viewport .rt::before {
content: "\f0c0"; /* http://fontawesome.io/icon/users/ */
line-height: 36px; /* fix alignment in Microsoft Edge */
}
#chat button.menu::before {
content: "\f142"; /* http://fontawesome.io/icon/ellipsis-v/ */
line-height: 36px; /* fix alignment in Microsoft Edge */
}
.context-menu-join::before { content: "\f067"; /* http://fontawesome.io/icon/plus/ */ } .context-menu-join::before { content: "\f067"; /* http://fontawesome.io/icon/plus/ */ }
.context-menu-user::before { content: "\f007"; /* http://fontawesome.io/icon/user/ */ } .context-menu-user::before { content: "\f007"; /* http://fontawesome.io/icon/user/ */ }
@ -494,10 +502,6 @@ kbd {
opacity: 1; opacity: 1;
} }
#viewport .rt-tooltip {
float: right;
}
#viewport.rt #chat .userlist { #viewport.rt #chat .userlist {
display: none; display: none;
} }
@ -1020,6 +1024,8 @@ button.collapse-network:first-child:nth-last-child(3) {
#chat .chat-content { #chat .chat-content {
display: flex; display: flex;
flex-grow: 1; flex-grow: 1;
overflow: hidden;
contain: strict;
} }
#chat .chat { #chat .chat {