File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 2
2
transition : border-color 0.5s ;
3
3
padding : 22px 24px ;
4
4
border-radius : 8px ;
5
- border : 1 px solid var (--vt-c-divider-light );
5
+ box-shadow : var (--vt-shadow-2 );
6
6
margin-bottom : 1.2em ;
7
7
}
8
8
Original file line number Diff line number Diff line change @@ -52,12 +52,12 @@ function stopDrag() {
52
52
<div
53
53
class =" draggable"
54
54
@mousedown =" startDrag"
55
- @touchstart =" startDrag"
56
55
@mousemove =" onDrag"
57
- @touchmove =" onDrag"
58
56
@mouseup =" stopDrag"
59
- @touchend =" stopDrag"
60
57
@mouseleave =" stopDrag"
58
+ @touchstart.prevent =" startDrag"
59
+ @touchmove.prevent =" onDrag"
60
+ @touchend.prevent =" stopDrag"
61
61
>
62
62
<svg class =" bg" width =" 320" height =" 560" >
63
63
<path :d =" headerPath" fill =" #3F51B5" ></path >
@@ -76,7 +76,7 @@ function stopDrag() {
76
76
<style scoped>
77
77
.draggable {
78
78
background-color : #fff ;
79
- box-shadow : 0 4 px 16 px rgba ( 0 , 0 , 0 , 0.15 );
79
+ box-shadow : var ( --vt-shadow-2 );
80
80
width : 320px ;
81
81
height : 240px ;
82
82
overflow : hidden ;
You can’t perform that action at this time.
0 commit comments