Skip to content

Commit 67af6b7

Browse files
committed
minor
1 parent eaf0f3d commit 67af6b7

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

services/static-webserver/client/source/class/osparc/support/SupportCenter.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,13 @@ qx.Class.define("osparc.support.SupportCenter", {
4343

4444
statics: {
4545
WINDOW_WIDTH: 430,
46+
WINDOW_HEIGHT: 700,
4647
REQUEST_CALL_MESSAGE: "Dear Support,\nI would like to make an appointment for a support call.",
4748

4849
getMaxHeight: function() {
49-
// height: max 80% of screen, or 600px
50+
// height: max 80% of screen, or WINDOW_HEIGHTpx
5051
const clientHeight = document.documentElement.clientHeight;
51-
return Math.min(600, parseInt(clientHeight * 0.8));
52+
return Math.min(osparc.support.SupportCenter.WINDOW_HEIGHT, parseInt(clientHeight * 0.8));
5253
},
5354

5455
openWindow: function() {

0 commit comments

Comments
 (0)