fixed panels behaviour

This commit is contained in:
Fedor Katurov 2020-01-22 15:53:15 +07:00
parent ad676d5fde
commit dd1c9a1d1c
2 changed files with 27 additions and 16 deletions

View file

@ -42,6 +42,19 @@
}
&__undo {
opacity: 0;
transform: translate(50px, 0);
pointer-events: none;
touch-action: none;
transition: transform 0.25s, opacity 0.25s;
z-index: -1;
&.active {
opacity: 1;
transform: translate(0, 0);
pointer-events: all;
touch-action: initial;
}
}
}