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.js
CHANGED
|
@@ -6674,12 +6674,15 @@ var StarIcon = "data:image/svg+xml,%3Csvg%20width%3D%2213%22%20height%3D%2213%22
|
|
|
6674
6674
|
const SingleSlide = ({
|
|
6675
6675
|
data,
|
|
6676
6676
|
sectionIndex,
|
|
6677
|
-
fullWidth
|
|
6677
|
+
fullWidth,
|
|
6678
|
+
isMobile
|
|
6678
6679
|
}) => {
|
|
6679
6680
|
const classes = useTeamStyles();
|
|
6680
6681
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6681
6682
|
className: classes.singleSlideContainer,
|
|
6682
|
-
style:
|
|
6683
|
+
style: isMobile ? {
|
|
6684
|
+
width: 'calc(100% - 16px)'
|
|
6685
|
+
} : fullWidth ? {
|
|
6683
6686
|
width: 'calc(100% - 24px)'
|
|
6684
6687
|
} : {
|
|
6685
6688
|
width: 'calc(25% - 24px)'
|
|
@@ -6777,7 +6780,8 @@ function TeamCard({
|
|
|
6777
6780
|
key: idx,
|
|
6778
6781
|
data: data,
|
|
6779
6782
|
sectionIndex: sectionIndex,
|
|
6780
|
-
fullWidth: fullWidth
|
|
6783
|
+
fullWidth: fullWidth,
|
|
6784
|
+
isMobile: true
|
|
6781
6785
|
});
|
|
6782
6786
|
});
|
|
6783
6787
|
return /*#__PURE__*/React__default["default"].createElement("section", {
|