Skip to content

Commit dfb614a

Browse files
committed
minor fix
1 parent bd1c9ad commit dfb614a

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

services/static-webserver/client/source/class/osparc/ui/window/Window.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@ qx.Class.define("osparc.ui.window.Window", {
7575
resizable: true,
7676
width: width,
7777
minHeight: minHeight,
78+
maxHeight: Math.max(minHeight, document.documentElement.clientHeight),
7879
modal: true,
7980
clickAwayClose: true
8081
});

services/static-webserver/client/source/class/osparc/widget/StudyDataManager.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,7 @@ qx.Class.define("osparc.widget.StudyDataManager", {
5858
if (!title) {
5959
title = osparc.product.Utils.getStudyAlias({firstUpperCase: true}) + qx.locale.Manager.tr(" Files");
6060
}
61-
return osparc.ui.window.Window.popUpInWindow(studyDataManager, title, osparc.dashboard.ResourceDetails.WIDTH, osparc.dashboard.ResourceDetails.HEIGHT).set({
62-
maxHeight: document.documentElement.clientHeight,
63-
});
61+
return osparc.ui.window.Window.popUpInWindow(studyDataManager, title, osparc.dashboard.ResourceDetails.WIDTH, osparc.dashboard.ResourceDetails.HEIGHT);
6462
},
6563
},
6664

0 commit comments

Comments
 (0)