From 8b417fe97a348bd720c1d127ebddacde9e9f31c3 Mon Sep 17 00:00:00 2001 From: Pavel Djundik Date: Tue, 6 Mar 2018 20:01:39 +0200 Subject: [PATCH] Fix chat and userlist not scrolling --- client/css/style.css | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/client/css/style.css b/client/css/style.css index 5c49ce01..c3f0216a 100644 --- a/client/css/style.css +++ b/client/css/style.css @@ -257,8 +257,16 @@ kbd { } #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-user::before { content: "\f007"; /* http://fontawesome.io/icon/user/ */ } @@ -494,10 +502,6 @@ kbd { opacity: 1; } -#viewport .rt-tooltip { - float: right; -} - #viewport.rt #chat .userlist { display: none; } @@ -1020,6 +1024,8 @@ button.collapse-network:first-child:nth-last-child(3) { #chat .chat-content { display: flex; flex-grow: 1; + overflow: hidden; + contain: strict; } #chat .chat {