diy-template-components 2.0.91 → 2.0.93

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
@@ -241,7 +241,7 @@ const useSectionStyles$a = createUseStyles(theme => ({
241
241
  rightNav: {
242
242
  marginRight: '120px',
243
243
  display: 'flex',
244
- alignItems: "center"
244
+ alignItems: 'center'
245
245
  },
246
246
  priceBox: {
247
247
  marginRight: '16px'
@@ -283,7 +283,7 @@ const useSectionStyles$a = createUseStyles(theme => ({
283
283
  display: 'flex',
284
284
  justifyContent: 'space-between',
285
285
  padding: '16px 16px 24px',
286
- alignItems: "center"
286
+ alignItems: 'center'
287
287
  },
288
288
  BottomSheetOfferContainer: {
289
289
  padding: '12px 0 ',
@@ -1614,10 +1614,8 @@ function MobileHeader({
1614
1614
  useEffect(() => {
1615
1615
  if (header?.effectivePrice) {
1616
1616
  const body = navEl?.current?.ownerDocument?.body;
1617
- console.log("body", body);
1618
- console.log("body 1", document?.getElementsByClassName(classes.section)?.closest('body'));
1619
1617
  if (body) {
1620
- body.style.marginBottom = '130px';
1618
+ body?.setAttribute('style', 'margin-bottom: 130px');
1621
1619
  }
1622
1620
  }
1623
1621
  }, []);