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