From 474fbf6bf4af3dc1b2370f522997edef4f4ab66a Mon Sep 17 00:00:00 2001
From: shpuld <shp@cock.li>
Date: Sun, 27 Jan 2019 08:27:41 +0200
Subject: use translate over margin animation (stupid me)

---
 src/components/side_drawer/side_drawer.vue | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'src/components/side_drawer/side_drawer.vue')

diff --git a/src/components/side_drawer/side_drawer.vue b/src/components/side_drawer/side_drawer.vue
index 386fff6a..fc90977b 100644
--- a/src/components/side_drawer/side_drawer.vue
+++ b/src/components/side_drawer/side_drawer.vue
@@ -128,7 +128,7 @@
 
 .side-drawer {
   overflow-x: hidden;
-  transition: 0.5s;
+  transition: 0.35s;
   transition-timing-function: cubic-bezier(0, 1, 0.5, 1);
   margin: 0 0 0 -100px;
   padding: 0 0 1em 100px;
@@ -146,7 +146,7 @@
 }
 
 .side-drawer-closed {
-  margin: 0 0 0 calc(-100% - 100px);
+  transform: translate(-100%);
 }
 
 .side-drawer-heading {
-- 
cgit v1.2.3-70-g09d2

