@shoplflow/base 0.27.3 → 0.27.4
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/dist/index.cjs +2 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -5
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -957,7 +957,7 @@ var ModalBody = ({
|
|
|
957
957
|
const headerFooterHeight = React3.useMemo(() => getHeaderFooterHeight(), [getHeaderFooterHeight]);
|
|
958
958
|
const setAutoHeightMin = () => {
|
|
959
959
|
if (sizeVar === "FULL") {
|
|
960
|
-
return windowHeight -
|
|
960
|
+
return windowHeight - headerFooterHeight;
|
|
961
961
|
}
|
|
962
962
|
if (modalContainerHeight) {
|
|
963
963
|
if (modalContainerHeight <= 1200) {
|
|
@@ -1019,10 +1019,7 @@ var ModalBody = ({
|
|
|
1019
1019
|
autoHeight: !modalContainerHeight,
|
|
1020
1020
|
autoHeightMin: setAutoHeightMin(),
|
|
1021
1021
|
autoHeightMax: setContentHeightMax(),
|
|
1022
|
-
style: {
|
|
1023
|
-
height: "100%",
|
|
1024
|
-
overflow: "hidden"
|
|
1025
|
-
},
|
|
1022
|
+
style: {},
|
|
1026
1023
|
children: /* @__PURE__ */ jsxRuntime.jsx(ModalBodyContainerInner, { children: /* @__PURE__ */ jsxRuntime.jsx(ModalBodyContent, { isIncludeHeader, sizeVar, children }) })
|
|
1027
1024
|
}
|
|
1028
1025
|
)
|