diy-template-components 2.0.94 → 2.0.96
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 +14 -5
- package/build/index.es.js.map +1 -1
- package/build/index.js +14 -5
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.es.js
CHANGED
|
@@ -350,7 +350,7 @@ const useSectionStyles$a = createUseStyles(theme => ({
|
|
|
350
350
|
bottom: 0,
|
|
351
351
|
left: 0,
|
|
352
352
|
width: '100%',
|
|
353
|
-
zIndex: '
|
|
353
|
+
zIndex: '100'
|
|
354
354
|
}
|
|
355
355
|
},
|
|
356
356
|
mobileAppNameClass: {
|
|
@@ -1606,10 +1606,19 @@ function MobileHeader({
|
|
|
1606
1606
|
const navEl = useRef(null);
|
|
1607
1607
|
useLayoutEffect(() => {
|
|
1608
1608
|
const body = navEl?.current?.ownerDocument?.body;
|
|
1609
|
-
if (
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1609
|
+
if (body) {
|
|
1610
|
+
if (sideMenu) {
|
|
1611
|
+
// body?.setAttribute('style', 'overflow: hidden;');
|
|
1612
|
+
body.style.overflow = 'hidden';
|
|
1613
|
+
} else {
|
|
1614
|
+
// body?.removeAttribute('style');
|
|
1615
|
+
body.style.overflow = '';
|
|
1616
|
+
}
|
|
1617
|
+
if (header?.effectivePrice) {
|
|
1618
|
+
body.style.marginBottom = '130px';
|
|
1619
|
+
} else {
|
|
1620
|
+
body.style.marginBottom = '';
|
|
1621
|
+
}
|
|
1613
1622
|
}
|
|
1614
1623
|
}, [sideMenu]);
|
|
1615
1624
|
useEffect(() => {
|