diy-template-components 2.0.42 → 2.0.43
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 +7 -3
- package/build/index.es.js.map +1 -1
- package/build/index.js +7 -3
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -6658,12 +6658,15 @@ 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();
|
|
6664
6665
|
return /*#__PURE__*/React.createElement("div", {
|
|
6665
6666
|
className: classes.singleSlideContainer,
|
|
6666
|
-
style:
|
|
6667
|
+
style: isMobile ? {
|
|
6668
|
+
width: 'calc(100% - 16px)'
|
|
6669
|
+
} : fullWidth ? {
|
|
6667
6670
|
width: 'calc(100% - 24px)'
|
|
6668
6671
|
} : {
|
|
6669
6672
|
width: 'calc(25% - 24px)'
|
|
@@ -6761,7 +6764,8 @@ function TeamCard({
|
|
|
6761
6764
|
key: idx,
|
|
6762
6765
|
data: data,
|
|
6763
6766
|
sectionIndex: sectionIndex,
|
|
6764
|
-
fullWidth: fullWidth
|
|
6767
|
+
fullWidth: fullWidth,
|
|
6768
|
+
isMobile: true
|
|
6765
6769
|
});
|
|
6766
6770
|
});
|
|
6767
6771
|
return /*#__PURE__*/React.createElement("section", {
|