@zat-design/sisyphus-react 3.13.1-beta.1 → 3.13.1-beta.2

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.
@@ -139,6 +139,8 @@ var ProCollapse = function ProCollapse(props) {
139
139
  var rect = proCollapseNoTitles[0].getBoundingClientRect();
140
140
  if ((rect === null || rect === void 0 ? void 0 : rect.height) < window.innerHeight - rect.top) {
141
141
  proCollapseNoTitles[0].style.minHeight = "calc(100vh - ".concat(rect.top + 16, "px)");
142
+ } else {
143
+ proCollapseNoTitles[0].style.minHeight = 'auto';
142
144
  }
143
145
  if (proFooterNode) {
144
146
  proCollapseNoTitles[0].style.minHeight = "calc(100vh - ".concat(rect.top + proFooterNode.offsetHeight + 16, "px)");
@@ -141,6 +141,8 @@ var ProCollapse = function ProCollapse(props) {
141
141
  var rect = proCollapseNoTitles[0].getBoundingClientRect();
142
142
  if ((rect === null || rect === void 0 ? void 0 : rect.height) < window.innerHeight - rect.top) {
143
143
  proCollapseNoTitles[0].style.minHeight = "calc(100vh - ".concat(rect.top + 16, "px)");
144
+ } else {
145
+ proCollapseNoTitles[0].style.minHeight = 'auto';
144
146
  }
145
147
  if (proFooterNode) {
146
148
  proCollapseNoTitles[0].style.minHeight = "calc(100vh - ".concat(rect.top + proFooterNode.offsetHeight + 16, "px)");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zat-design/sisyphus-react",
3
- "version": "3.13.1-beta.1",
3
+ "version": "3.13.1-beta.2",
4
4
  "license": "MIT",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",