@oddle.me/react-calendar-timeline 0.29.3 → 0.29.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/Timeline.css +1 -10
- package/lib/lib/scroll/ScrollElement.js +1 -1
- package/package.json +1 -1
package/lib/Timeline.css
CHANGED
|
@@ -30,21 +30,12 @@
|
|
|
30
30
|
padding: 0 6px;
|
|
31
31
|
height: 100%; }
|
|
32
32
|
.react-calendar-timeline .rct-sidebar {
|
|
33
|
-
overflow: hidden;
|
|
34
33
|
white-space: normal;
|
|
35
34
|
display: inline-block;
|
|
36
35
|
vertical-align: top;
|
|
37
36
|
position: relative;
|
|
38
37
|
box-sizing: border-box;
|
|
39
|
-
border-right: 1px solid #bbb;
|
|
40
|
-
overflow-x: hidden;
|
|
41
|
-
overflow-y: scroll;
|
|
42
|
-
-ms-overflow-style: none;
|
|
43
|
-
/* IE and Edge */
|
|
44
|
-
scrollbar-width: none;
|
|
45
|
-
/* Firefox */ }
|
|
46
|
-
.react-calendar-timeline .rct-sidebar::-webkit-scrollbar {
|
|
47
|
-
display: none; }
|
|
38
|
+
border-right: 1px solid #bbb; }
|
|
48
39
|
.react-calendar-timeline .rct-sidebar.rct-sidebar-right {
|
|
49
40
|
border-right: 0;
|
|
50
41
|
border-left: 1px solid #bbb; }
|
|
@@ -191,7 +191,7 @@ function (_Component) {
|
|
|
191
191
|
var x = e.touches[0].clientX;
|
|
192
192
|
var y = e.touches[0].clientY;
|
|
193
193
|
var deltaX = x - _this.lastSingleTouch.x;
|
|
194
|
-
var deltaY =
|
|
194
|
+
var deltaY = y - _this.lastSingleTouch.y;
|
|
195
195
|
var deltaX0 = x - _this.singleTouchStart.x;
|
|
196
196
|
var deltaY0 = y - _this.singleTouchStart.y;
|
|
197
197
|
_this.lastSingleTouch = {
|