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

@@ -18,11 +18,13 @@ body {
display: inline-block;
height: 100%;
width: 50%;
transition: width 500ms, min-width 500ms, max-width 500ms;
min-width: 20%;
max-width: 80%;
resize: horizontal;
}
.CodeMirror.transition {
transition: width 500ms, min-width 500ms, max-width 500ms;
}
.CodeMirror.fullPage {
min-width: 100%;
max-width: 100%;