diy-template-components 2.0.1 → 2.0.3

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
@@ -7596,7 +7596,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7596
7596
  iframeContainer: {
7597
7597
  width: '100%',
7598
7598
  position: 'relative',
7599
- paddingBottom: '56.25%',
7599
+ aspectRatio: '4/3',
7600
7600
  // top: "6%",
7601
7601
  // left: '5%'
7602
7602
  borderRadius: '8px',
@@ -8100,11 +8100,10 @@ const useCoursePromotionPage = createUseStyles(theme => {
8100
8100
  iframeContainer: {
8101
8101
  width: '100%',
8102
8102
  position: 'relative',
8103
- paddingBottom: '56.25%'
8104
- // top: "6%",
8105
- // left: '5%'
8103
+ aspectRatio: '4/3',
8104
+ borderRadius: '8px',
8105
+ overflow: 'hidden'
8106
8106
  },
8107
-
8108
8107
  offerText: {
8109
8108
  textAlign: 'center',
8110
8109
  color: theme.palette.font.primary,
@@ -8490,7 +8489,7 @@ const SingleVideoSlide = props => {
8490
8489
  }, /*#__PURE__*/React.createElement(Icon, {
8491
8490
  name: 'Certificate',
8492
8491
  color: theme?.colors?.background2,
8493
- width: "24px"
8492
+ width: "20px"
8494
8493
  })), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? handleCourseCertificateText() : null)) : null, data?.courseOverviewData?.resourseDataText.heading ? /*#__PURE__*/React.createElement("div", {
8495
8494
  className: classes.courseDetailTag
8496
8495
  }, /*#__PURE__*/React.createElement("span", {
@@ -8498,7 +8497,7 @@ const SingleVideoSlide = props => {
8498
8497
  }, /*#__PURE__*/React.createElement(Icon, {
8499
8498
  name: 'Certificate',
8500
8499
  color: theme?.colors?.background2,
8501
- width: "24px"
8500
+ width: "20px"
8502
8501
  })), /*#__PURE__*/React.createElement("div", null, data?.courseOverviewData?.resourseDataText?.heading)) : null), /*#__PURE__*/React.createElement("p", {
8503
8502
  ref: data?.videoTextContent?.refSetter,
8504
8503
  className: classes.courseDetailContent,