From fc1766b8ec53eff1fb56c8a784f32f60e15fd720 Mon Sep 17 00:00:00 2001 From: Daniel Gustaw Date: Wed, 21 Aug 2019 16:28:47 +0200 Subject: [PATCH] == replaced by ===, logic statements simplified Simple code cleaning without changes in logic and how code works. --- Drawer.vue | 475 +++++++++++++++++++++++++++-------------------------- 1 file changed, 238 insertions(+), 237 deletions(-) diff --git a/Drawer.vue b/Drawer.vue index 083115f..9a2d379 100644 --- a/Drawer.vue +++ b/Drawer.vue @@ -1,244 +1,245 @@ \ No newline at end of file + div.overlay { + position: fixed; + z-index: -999; + left: 0; + top: 0; + background: rgba(11, 10, 12, 0.35); + opacity: 0; + width: 100%; + height: 100%; + transition: opacity 0.3s ease; + } + + aside.sidebar { + z-index: 9999; + position: fixed; + will-change: transform; + height: 100%; + top: 0; + transition: transform 0.3s ease; + background: #fff; + width: 300px; + overflow-y: auto; + overflow-x: hidden; + word-wrap: break-word; + } +