N°4252 - Force form modals to have a max height of 90% of the window's height to avoid overflowing from the viewport

This commit is contained in:
Molkobain
2021-12-03 09:52:42 +01:00
parent 4b50f5e1db
commit 827a108a38

View File

@@ -354,7 +354,7 @@ EOF
<<<EOF
$('#$sDialogId').dialog({
height: 'auto',
maxHeight: $(window).height() - 8,
maxHeight: $(window).height() * 0.9,
width: $iDialogWidth,
modal: true,
autoOpen: $sAutoOpen,