1
0
Fork 0
forked from srxl/akkoma-fe

use translate over margin animation (stupid me)

This commit is contained in:
shpuld 2019-01-27 08:27:41 +02:00
parent b82ba54add
commit 474fbf6bf4

View file

@ -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 {