diy-template-components 2.0.89 → 2.0.91
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 +10 -6
- package/build/index.es.js.map +1 -1
- package/build/index.js +10 -6
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -1611,6 +1611,16 @@ function MobileHeader({
|
|
|
1611
1611
|
body?.removeAttribute('style');
|
|
1612
1612
|
}
|
|
1613
1613
|
}, [sideMenu]);
|
|
1614
|
+
useEffect(() => {
|
|
1615
|
+
if (header?.effectivePrice) {
|
|
1616
|
+
const body = navEl?.current?.ownerDocument?.body;
|
|
1617
|
+
console.log("body", body);
|
|
1618
|
+
console.log("body 1", document?.getElementsByClassName(classes.section)?.closest('body'));
|
|
1619
|
+
if (body) {
|
|
1620
|
+
body.style.marginBottom = '130px';
|
|
1621
|
+
}
|
|
1622
|
+
}
|
|
1623
|
+
}, []);
|
|
1614
1624
|
let downloadLink = null;
|
|
1615
1625
|
const downloadAppText = countryCode === 'KR' ? '앱다운로드' : 'Download App';
|
|
1616
1626
|
const apkURL = header?.apkURL;
|
|
@@ -1682,12 +1692,6 @@ function MobileHeader({
|
|
|
1682
1692
|
if (!header?.effectivePrice) {
|
|
1683
1693
|
return null;
|
|
1684
1694
|
}
|
|
1685
|
-
const body = navEl?.current?.ownerDocument?.body;
|
|
1686
|
-
console.log("body", body);
|
|
1687
|
-
console.log("body 1", document?.getElementsByClassName(classes.section)?.closest('body'));
|
|
1688
|
-
if (body) {
|
|
1689
|
-
body.style.marginBottom = '130px';
|
|
1690
|
-
}
|
|
1691
1695
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
1692
1696
|
className: classes.BottomSheetContainer
|
|
1693
1697
|
}, OfferDetailsJSX(), /*#__PURE__*/React.createElement("div", {
|