oddsgate-ds 1.0.142 → 1.0.144
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/package.json
CHANGED
|
@@ -75,7 +75,7 @@ const CircularSlider = ({
|
|
|
75
75
|
const setSize = (radius: number) => {
|
|
76
76
|
if (!wrapper.current || !slidesHolder.current) return //bail out;
|
|
77
77
|
|
|
78
|
-
const slideSize = isMobile ? 0.
|
|
78
|
+
const slideSize = isMobile ? 0.12 : 0.15
|
|
79
79
|
|
|
80
80
|
wrapper.current.style.width = 2 * radius + 'px'
|
|
81
81
|
wrapper.current.style.height = 2 * radius + 'px'
|
|
@@ -102,7 +102,7 @@ const CircularSlider = ({
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
const sliderResize = debounce(() => {
|
|
105
|
-
const sliderSize = isMobile ?
|
|
105
|
+
const sliderSize = isMobile ? 2.6 : 1
|
|
106
106
|
|
|
107
107
|
let radius,
|
|
108
108
|
w = slider?.current
|