@plasmicapp/react-web 0.2.98 → 0.2.99
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/react-web.cjs.development.js +5 -8
- package/dist/react-web.cjs.development.js.map +1 -1
- package/dist/react-web.cjs.production.min.js +1 -1
- package/dist/react-web.cjs.production.min.js.map +1 -1
- package/dist/react-web.esm.js +5 -8
- package/dist/react-web.esm.js.map +1 -1
- package/package.json +1 -1
- package/skinny/dist/render/PlasmicImg/index.js +5 -5
- package/skinny/dist/render/PlasmicImg/index.js.map +1 -1
package/dist/react-web.esm.js
CHANGED
|
@@ -931,22 +931,19 @@ var PlasmicImg = /*#__PURE__*/React__default.forwardRef(function PlasmicImg(prop
|
|
|
931
931
|
}
|
|
932
932
|
|
|
933
933
|
if (displayHeight != null && displayHeight !== "auto") {
|
|
934
|
-
spacerStyle.height = "100%";
|
|
935
|
-
wrapperStyle.
|
|
936
|
-
wrapperStyle.
|
|
937
|
-
wrapperStyle.maxHeight = displayMaxHeight;
|
|
934
|
+
spacerStyle.height = "100%"; // wrapperStyle.height = displayHeight;
|
|
935
|
+
// wrapperStyle.minHeight = displayMinHeight;
|
|
936
|
+
// wrapperStyle.maxHeight = displayMaxHeight;
|
|
938
937
|
} else {
|
|
939
938
|
spacerStyle.height = displayHeight;
|
|
940
939
|
wrapperStyle.height = "auto";
|
|
941
940
|
|
|
942
941
|
if (displayMinHeight) {
|
|
943
|
-
spacerStyle.minHeight = "100%";
|
|
944
|
-
wrapperStyle.minHeight = displayMinHeight;
|
|
942
|
+
spacerStyle.minHeight = "100%"; // wrapperStyle.minHeight = displayMinHeight;
|
|
945
943
|
}
|
|
946
944
|
|
|
947
945
|
if (displayMaxHeight != null && displayMaxHeight !== "none") {
|
|
948
|
-
spacerStyle.maxHeight = "100%";
|
|
949
|
-
wrapperStyle.maxHeight = displayMaxHeight;
|
|
946
|
+
spacerStyle.maxHeight = "100%"; // wrapperStyle.maxHeight = displayMaxHeight;
|
|
950
947
|
}
|
|
951
948
|
}
|
|
952
949
|
|