File tree 2 files changed +55
-2
lines changed
2 files changed +55
-2
lines changed Original file line number Diff line number Diff line change 22
22
height : 100% ;
23
23
}
24
24
25
- .croppie-container .cr-viewport {
25
+ .croppie-container .cr-viewport ,
26
+ .croppie-container .cr-resizer {
26
27
position : absolute;
27
28
border : 2px solid # fff ;
28
29
margin : auto;
34
35
z-index : 0 ;
35
36
}
36
37
38
+ .croppie-container .cr-resizer {
39
+ z-index : 2 ;
40
+ box-shadow : none;
41
+ pointer-events : none;
42
+ }
43
+
44
+ .croppie-container .cr-resizer-vertical ,
45
+ .croppie-container .cr-resizer-horisontal {
46
+ position : absolute;
47
+ pointer-events : all;
48
+ }
49
+
50
+ .croppie-container .cr-resizer-vertical ::after ,
51
+ .croppie-container .cr-resizer-horisontal ::after {
52
+ display : block;
53
+ position : absolute;
54
+ box-sizing : border-box;
55
+ border : 1px solid black;
56
+ background : # fff ;
57
+ width : 10px ;
58
+ height : 10px ;
59
+ content : '' ;
60
+ }
61
+
62
+ .croppie-container .cr-resizer-vertical {
63
+ bottom : -5px ;
64
+ cursor : row-resize;
65
+ width : 100% ;
66
+ height : 10px ;
67
+ }
68
+
69
+ .croppie-container .cr-resizer-vertical ::after {
70
+ left : 50% ;
71
+ margin-left : -5px ;
72
+ }
73
+
74
+ .croppie-container .cr-resizer-horisontal {
75
+ right : -5px ;
76
+ cursor : col-resize;
77
+ width : 10px ;
78
+ height : 100% ;
79
+ }
80
+
81
+ .croppie-container .cr-resizer-horisontal ::after {
82
+ top : 50% ;
83
+ margin-top : -5px ;
84
+ }
85
+
37
86
.croppie-container .cr-original-image {
38
87
display : none;
39
88
}
46
95
z-index : 1 ;
47
96
position : absolute;
48
97
cursor : move;
98
+ touch-action : none;
49
99
}
50
100
51
101
.croppie-container .cr-slider-wrap {
85
135
width : 300px ;
86
136
/*required for proper track sizing in FF*/
87
137
max-width : 100% ;
138
+ padding-top : 8px ;
139
+ padding-bottom : 8px ;
140
+ background-color : transparent;
88
141
}
89
142
90
143
.cr-slider ::-webkit-slider-runnable-track {
You can’t perform that action at this time.
0 commit comments