From 2ff5dd0f46604cd0b0c64b93b93d2670533149b5 Mon Sep 17 00:00:00 2001 From: Rekai Musuka Date: Thu, 6 Sep 2018 11:08:08 +0100 Subject: [PATCH] Fixed Dashboard issues and removed horizontal scroll from chat window --- app/assets/stylesheets/pages/_contacts.scss | 6 ++++-- app/assets/stylesheets/pages/_messages.scss | 1 + 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/app/assets/stylesheets/pages/_contacts.scss b/app/assets/stylesheets/pages/_contacts.scss index 954a56f..2100cae 100644 --- a/app/assets/stylesheets/pages/_contacts.scss +++ b/app/assets/stylesheets/pages/_contacts.scss @@ -163,7 +163,9 @@ a:hover { .contacts { display: flex; flex-direction: column; - justify-content: center; + // justify-content: center; + + height: calc(100vh - 3.5em); } .close-location { @@ -180,8 +182,8 @@ a:hover { } .contacts-list{ - height: 90vh; overflow: scroll; + overflow-x: hidden; } diff --git a/app/assets/stylesheets/pages/_messages.scss b/app/assets/stylesheets/pages/_messages.scss index 8c2b0b7..eb11ba0 100644 --- a/app/assets/stylesheets/pages/_messages.scss +++ b/app/assets/stylesheets/pages/_messages.scss @@ -11,6 +11,7 @@ #messages-container { overflow: scroll; + overflow-x: hidden; height: 95%; padding: 10px; }