Fix width transition when dragging preview

This commit is contained in:
yflory
2017-06-12 12:27:24 +02:00
parent 3ff3eac283
commit 5d6a0dcc1b
3 changed files with 16 additions and 2 deletions

View File

@@ -22,7 +22,9 @@ body {
display: inline-block;
height: 100%;
width: 50%;
transition: width @slideTime, min-width @slideTime, max-width @slideTime;
&.transition {
transition: width @slideTime, min-width @slideTime, max-width @slideTime;
}
min-width: 20%;
max-width: 80%;
resize: horizontal;