From 829595264de3c46f201ff9946f88f5728e118027 Mon Sep 17 00:00:00 2001 From: saber-nyan Date: Tue, 14 May 2019 00:08:21 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9A=D0=BE=D1=81=D0=BC=D0=B5=D1=82=D0=B8?= =?UTF-8?q?=D0=BA=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Packet.vue | 2 +- src/components/Sidebar.vue | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/src/components/Packet.vue b/src/components/Packet.vue index 10e4f60..d7fb972 100644 --- a/src/components/Packet.vue +++ b/src/components/Packet.vue @@ -53,7 +53,7 @@ export default { } .packet { background: rgba(224, 246, 255, 0.4); - box-shadow: 0 0 5px 5px #e1f5fe; + box-shadow: 0 0 5px 5px rgba(224, 246, 255, 0.4); } .packet-incoming { background: rgba(251, 233, 231, 0.4); diff --git a/src/components/Sidebar.vue b/src/components/Sidebar.vue index 236d22f..aa2d76f 100644 --- a/src/components/Sidebar.vue +++ b/src/components/Sidebar.vue @@ -91,20 +91,21 @@ export default { .sidebar { display: block !important; flex: 0 0 16.666667%; - max-width: 16.666667%; - position: fixed; + max-width: 20.666667%; + position: fixed !important; top: 0; bottom: 0; left: 0; z-index: 100; /* Behind the navbar */ - padding: 40px 0 0 !important; /* Height of navbar */ + padding: 40px 0 0 0 !important; box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1); + height: 100%; } .sidebar-sticky { position: relative; top: 0; - height: calc(100vh - 48px); + height: calc(100vh - 40px); /*padding-top: .5rem;*/ overflow-x: hidden; overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */