diy-template-components 1.0.50 → 1.0.51

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 CHANGED
@@ -1720,7 +1720,8 @@ const useSectionStyles$9 = createUseStyles(theme => ({
1720
1720
  alignItems: 'start'
1721
1721
  },
1722
1722
  upperContainerItem3: {
1723
- width: '100%'
1723
+ width: '100%',
1724
+ justifyContent: 'center'
1724
1725
  },
1725
1726
  cardHeading: {
1726
1727
  justifyContent: 'center',
@@ -5258,6 +5259,22 @@ const usePhotoGalleryStyles = createUseStyles(theme => {
5258
5259
  overflow: 'hidden',
5259
5260
  whiteSpace: 'nowrap',
5260
5261
  textOverflow: 'ellipsis'
5262
+ },
5263
+ contentRow: {
5264
+ width: '100%',
5265
+ padding: ({
5266
+ cardsCount
5267
+ }) => cardsCount === 1 ? '0px' : ''
5268
+ },
5269
+ carouselImage: {
5270
+ height: ({
5271
+ cardsCount
5272
+ }) => cardsCount === 1 ? '360px' : ''
5273
+ },
5274
+ singleCard: {
5275
+ width: ({
5276
+ cardsCount
5277
+ }) => cardsCount === 1 ? '100%' : 'calc(100% - 16px)'
5261
5278
  }
5262
5279
  }
5263
5280
  };
@@ -5765,13 +5782,14 @@ const useCourseStyles = createUseStyles(theme => {
5765
5782
  lineHeight: '70px',
5766
5783
  color: theme?.palette?.font?.default,
5767
5784
  marginTop: '8px',
5768
- marginBottom: theme.spacing.margin.tiny,
5769
- overflow: 'hidden',
5770
- whiteSpace: 'nowrap',
5771
- textOverflow: 'ellipsis',
5772
- textAlign: 'center',
5773
- wordBreak: 'break-word'
5785
+ marginBottom: theme.spacing.margin.tiny
5786
+ // overflow: 'hidden',
5787
+ // whiteSpace: 'nowrap',
5788
+ // textOverflow: 'ellipsis',
5789
+ // textAlign: 'center',
5790
+ // wordBreak: 'break-word'
5774
5791
  },
5792
+
5775
5793
  slickContainer: {
5776
5794
  marginRight: '-20px'
5777
5795
  },
@@ -5944,15 +5962,19 @@ const useCourseStyles = createUseStyles(theme => {
5944
5962
  size: {
5945
5963
  margin: '0'
5946
5964
  },
5965
+ courseCardPrice: {
5966
+ fontSize: '24px'
5967
+ },
5947
5968
  coursesHeader: {
5948
5969
  // fontSize: '24px',
5949
5970
  lineHeight: '36px',
5950
5971
  color: theme?.palette?.font?.default,
5951
- margin: '0px 0 12px 0',
5952
- overflow: 'hidden',
5953
- whiteSpace: 'nowrap',
5954
- textOverflow: 'ellipsis'
5972
+ margin: '0px 0 12px 0'
5973
+ // overflow: 'hidden',
5974
+ // whiteSpace: 'nowrap',
5975
+ // textOverflow: 'ellipsis'
5955
5976
  },
5977
+
5956
5978
  singleCard: {
5957
5979
  margin: '6px 2px'
5958
5980
  // width: 'calc(100% - 12px)'