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; }