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.js
CHANGED
|
@@ -6642,7 +6642,7 @@ const useTeamStyles = createUseStyles(theme => {
|
|
|
6642
6642
|
},
|
|
6643
6643
|
singleSlideContainer: {
|
|
6644
6644
|
padding: '24px',
|
|
6645
|
-
width: 'calc(100% - 16px)',
|
|
6645
|
+
// width: 'calc(100% - 16px)',
|
|
6646
6646
|
margin: '12px 4px',
|
|
6647
6647
|
minHeight: '260px'
|
|
6648
6648
|
},
|
|
@@ -6674,12 +6674,16 @@ 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();
|
|
6681
|
+
console.log("isMobile", isMobile);
|
|
6680
6682
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
|
6681
6683
|
className: classes.singleSlideContainer,
|
|
6682
|
-
style:
|
|
6684
|
+
style: isMobile ? {
|
|
6685
|
+
width: 'calc(100% - 16px)'
|
|
6686
|
+
} : fullWidth ? {
|
|
6683
6687
|
width: 'calc(100% - 24px)'
|
|
6684
6688
|
} : {
|
|
6685
6689
|
width: 'calc(25% - 24px)'
|
|
@@ -6777,7 +6781,8 @@ function TeamCard({
|
|
|
6777
6781
|
key: idx,
|
|
6778
6782
|
data: data,
|
|
6779
6783
|
sectionIndex: sectionIndex,
|
|
6780
|
-
fullWidth: fullWidth
|
|
6784
|
+
fullWidth: fullWidth,
|
|
6785
|
+
isMobile: isMobile
|
|
6781
6786
|
});
|
|
6782
6787
|
});
|
|
6783
6788
|
return /*#__PURE__*/React__default["default"].createElement("section", {
|