@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
|
@@ -938,22 +938,19 @@ var PlasmicImg = /*#__PURE__*/React__default.forwardRef(function PlasmicImg(prop
|
|
|
938
938
|
}
|
|
939
939
|
|
|
940
940
|
if (displayHeight != null && displayHeight !== "auto") {
|
|
941
|
-
spacerStyle.height = "100%";
|
|
942
|
-
wrapperStyle.
|
|
943
|
-
wrapperStyle.
|
|
944
|
-
wrapperStyle.maxHeight = displayMaxHeight;
|
|
941
|
+
spacerStyle.height = "100%"; // wrapperStyle.height = displayHeight;
|
|
942
|
+
// wrapperStyle.minHeight = displayMinHeight;
|
|
943
|
+
// wrapperStyle.maxHeight = displayMaxHeight;
|
|
945
944
|
} else {
|
|
946
945
|
spacerStyle.height = displayHeight;
|
|
947
946
|
wrapperStyle.height = "auto";
|
|
948
947
|
|
|
949
948
|
if (displayMinHeight) {
|
|
950
|
-
spacerStyle.minHeight = "100%";
|
|
951
|
-
wrapperStyle.minHeight = displayMinHeight;
|
|
949
|
+
spacerStyle.minHeight = "100%"; // wrapperStyle.minHeight = displayMinHeight;
|
|
952
950
|
}
|
|
953
951
|
|
|
954
952
|
if (displayMaxHeight != null && displayMaxHeight !== "none") {
|
|
955
|
-
spacerStyle.maxHeight = "100%";
|
|
956
|
-
wrapperStyle.maxHeight = displayMaxHeight;
|
|
953
|
+
spacerStyle.maxHeight = "100%"; // wrapperStyle.maxHeight = displayMaxHeight;
|
|
957
954
|
}
|
|
958
955
|
}
|
|
959
956
|
|