hds-web 0.1.6 → 0.1.7
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
@@ -4,14 +4,14 @@ import { Icon } from '../common-components/Icon';
|
|
4
4
|
|
5
5
|
const ANIMATED_ARR_CLASSES = {
|
6
6
|
'icon1':{
|
7
|
-
'sm':'h-5 ',
|
8
|
-
'md': 'h-5',
|
9
|
-
'lg': 'h-6'
|
7
|
+
'sm':'h-5 w-5 ',
|
8
|
+
'md': 'h-5 w-5',
|
9
|
+
'lg': 'h-6 w-6'
|
10
10
|
},
|
11
11
|
'icon2':{
|
12
|
-
'sm':'h-5 -mt-5',
|
13
|
-
'md': 'h-5 -mt-5',
|
14
|
-
'lg': 'h-6 -mt-6'
|
12
|
+
'sm':'h-5 w-5 -mt-5',
|
13
|
+
'md': 'h-5 w-5 -mt-5',
|
14
|
+
'lg': 'h-6 w-6 -mt-6'
|
15
15
|
},
|
16
16
|
|
17
17
|
}
|
@@ -83,7 +83,7 @@ export default function Carouseltest(props) {
|
|
83
83
|
|
84
84
|
// }
|
85
85
|
console.log(totalContainerWidth, visibleCardsContainerWidth, currentCard )
|
86
|
-
let slider1 = (384/(totalCards*cardWidth)) * (328)* (currentCard);
|
86
|
+
let slider1 = (384/(totalCards*cardWidth)) * (328)* (currentCard+3);
|
87
87
|
if(slider1>384){
|
88
88
|
slider1 = 384;
|
89
89
|
}
|