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.js CHANGED
@@ -257,7 +257,7 @@ const useSectionStyles$a = createUseStyles(theme => ({
257
257
  rightNav: {
258
258
  marginRight: '120px',
259
259
  display: 'flex',
260
- alignItems: "center"
260
+ alignItems: 'center'
261
261
  },
262
262
  priceBox: {
263
263
  marginRight: '16px'
@@ -299,7 +299,7 @@ const useSectionStyles$a = createUseStyles(theme => ({
299
299
  display: 'flex',
300
300
  justifyContent: 'space-between',
301
301
  padding: '16px 16px 24px',
302
- alignItems: "center"
302
+ alignItems: 'center'
303
303
  },
304
304
  BottomSheetOfferContainer: {
305
305
  padding: '12px 0 ',
@@ -1630,10 +1630,8 @@ function MobileHeader({
1630
1630
  React.useEffect(() => {
1631
1631
  if (header?.effectivePrice) {
1632
1632
  const body = navEl?.current?.ownerDocument?.body;
1633
- console.log("body", body);
1634
- console.log("body 1", document?.getElementsByClassName(classes.section)?.closest('body'));
1635
1633
  if (body) {
1636
- body.style.marginBottom = '130px';
1634
+ body?.setAttribute('style', 'margin-bottom: 130px');
1637
1635
  }
1638
1636
  }
1639
1637
  }, []);