diy-template-components 2.0.42 → 2.0.44
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/build/index.es.js +9 -4
- package/build/index.es.js.map +1 -1
- package/build/index.js +9 -4
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -6626,7 +6626,7 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6626
6626
|
},
|
|
6627
6627
|
singleSlideContainer: {
|
|
6628
6628
|
padding: '24px',
|
|
6629
|
-
width: 'calc(100% - 16px)',
|
|
6629
|
+
// width: 'calc(100% - 16px)',
|
|
6630
6630
|
margin: '12px 4px',
|
|
6631
6631
|
minHeight: '260px'
|
|
6632
6632
|
},
|
|
@@ -6658,12 +6658,16 @@ var StarIcon = "data:image/svg+xml,%3Csvg%20width%3D%2213%22%20height%3D%2213%22
|
|
|
6658
6658
|
const SingleSlide = ({
|
|
6659
6659
|
data,
|
|
6660
6660
|
sectionIndex,
|
|
6661
|
-
fullWidth
|
|
6661
|
+
fullWidth,
|
|
6662
|
+
isMobile
|
|
6662
6663
|
}) => {
|
|
6663
6664
|
const classes = useTeamStyles();
|
|
6665
|
+
console.log("isMobile", isMobile);
|
|
6664
6666
|
return /*#__PURE__*/React.createElement("div", {
|
|
6665
6667
|
className: classes.singleSlideContainer,
|
|
6666
|
-
style:
|
|
6668
|
+
style: isMobile ? {
|
|
6669
|
+
width: 'calc(100% - 16px)'
|
|
6670
|
+
} : fullWidth ? {
|
|
6667
6671
|
width: 'calc(100% - 24px)'
|
|
6668
6672
|
} : {
|
|
6669
6673
|
width: 'calc(25% - 24px)'
|
|
@@ -6761,7 +6765,8 @@ function TeamCard({
|
|
|
6761
6765
|
key: idx,
|
|
6762
6766
|
data: data,
|
|
6763
6767
|
sectionIndex: sectionIndex,
|
|
6764
|
-
fullWidth: fullWidth
|
|
6768
|
+
fullWidth: fullWidth,
|
|
6769
|
+
isMobile: isMobile
|
|
6765
6770
|
});
|
|
6766
6771
|
});
|
|
6767
6772
|
return /*#__PURE__*/React.createElement("section", {
|