From ec6cc273de87ec7a9cdfb8af05b1e3597fabc011 Mon Sep 17 00:00:00 2001 From: Beatrice Olivera Date: Thu, 6 Sep 2018 11:47:18 +0100 Subject: [PATCH] edited scrollbar and removed navbar from call page --- app/assets/stylesheets/pages/_contacts.scss | 23 +++++++++++++++++---- app/views/chat_rooms/show.html.erb | 2 +- 2 files changed, 20 insertions(+), 5 deletions(-) diff --git a/app/assets/stylesheets/pages/_contacts.scss b/app/assets/stylesheets/pages/_contacts.scss index 2100cae..e2cdc7c 100644 --- a/app/assets/stylesheets/pages/_contacts.scss +++ b/app/assets/stylesheets/pages/_contacts.scss @@ -9,6 +9,7 @@ a:hover { align-self: center; margin-top: 19px; } + margin-bottom: 20px; } .card { @@ -18,6 +19,7 @@ a:hover { background: $card-background; align-items: center; margin-bottom: 10px; + margin-right: 10px; border-radius: 5px; box-shadow: 1px 1px 15px 1px rgba(0, 0, 0, 0.2); @@ -186,10 +188,23 @@ a:hover { overflow-x: hidden; } +::-webkit-scrollbar { + width: 10px; +} +/* Track */ +::-webkit-scrollbar-track { + // background: rgba(0, 0, 0, 0.2); + // border-radius: 10px; + padding-left: 4px; +} +/* Handle */ +::-webkit-scrollbar-thumb { + background: $primary; + border-radius: 15px; +} - - - - +body { + overflow: hidden; +} diff --git a/app/views/chat_rooms/show.html.erb b/app/views/chat_rooms/show.html.erb index d4deb43..b05b468 100644 --- a/app/views/chat_rooms/show.html.erb +++ b/app/views/chat_rooms/show.html.erb @@ -1,5 +1,5 @@ - +<% params["action"] = "call" %>