Modal add dragable prop

This commit is contained in:
梁灏 2018-06-26 20:51:59 +08:00
parent 1c7289e9dd
commit d4b59a9adb
3 changed files with 94 additions and 6 deletions

View file

@ -44,6 +44,17 @@
&-no-mask{
pointer-events: auto;
}
&-drag{
position: absolute;
.@{modal-prefix-cls}-header{
cursor: move;
}
}
&-dragging{
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
}
&-header {