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.js CHANGED
@@ -7612,7 +7612,7 @@ const useWebinarPromotionPage = createUseStyles(theme => {
7612
7612
  iframeContainer: {
7613
7613
  width: '100%',
7614
7614
  position: 'relative',
7615
- paddingBottom: '56.25%',
7615
+ aspectRatio: '4/3',
7616
7616
  // top: "6%",
7617
7617
  // left: '5%'
7618
7618
  borderRadius: '8px',
@@ -8116,11 +8116,10 @@ const useCoursePromotionPage = createUseStyles(theme => {
8116
8116
  iframeContainer: {
8117
8117
  width: '100%',
8118
8118
  position: 'relative',
8119
- paddingBottom: '56.25%'
8120
- // top: "6%",
8121
- // left: '5%'
8119
+ aspectRatio: '4/3',
8120
+ borderRadius: '8px',
8121
+ overflow: 'hidden'
8122
8122
  },
8123
-
8124
8123
  offerText: {
8125
8124
  textAlign: 'center',
8126
8125
  color: theme.palette.font.primary,
@@ -8506,7 +8505,7 @@ const SingleVideoSlide = props => {
8506
8505
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
8507
8506
  name: 'Certificate',
8508
8507
  color: theme?.colors?.background2,
8509
- width: "24px"
8508
+ width: "20px"
8510
8509
  })), /*#__PURE__*/React__default["default"].createElement("div", null, data?.courseOverviewData?.metaData?.isCertificateEnabled ? handleCourseCertificateText() : null)) : null, data?.courseOverviewData?.resourseDataText.heading ? /*#__PURE__*/React__default["default"].createElement("div", {
8511
8510
  className: classes.courseDetailTag
8512
8511
  }, /*#__PURE__*/React__default["default"].createElement("span", {
@@ -8514,7 +8513,7 @@ const SingleVideoSlide = props => {
8514
8513
  }, /*#__PURE__*/React__default["default"].createElement(Icon, {
8515
8514
  name: 'Certificate',
8516
8515
  color: theme?.colors?.background2,
8517
- width: "24px"
8516
+ width: "20px"
8518
8517
  })), /*#__PURE__*/React__default["default"].createElement("div", null, data?.courseOverviewData?.resourseDataText?.heading)) : null), /*#__PURE__*/React__default["default"].createElement("p", {
8519
8518
  ref: data?.videoTextContent?.refSetter,
8520
8519
  className: classes.courseDetailContent,