* Fix bug 32751.

This commit is contained in:
tianshujie
2023-03-10 14:43:04 +08:00
parent 88226af4ee
commit 537d81ba97
7 changed files with 38 additions and 14 deletions
+1 -1
View File
@@ -125,7 +125,7 @@ $(function()
minimap: {enabled: false}
});
var codeHeight = parent.$('#editWin').height();
var headerHeight = $('.main-header').height();
var headerHeight = $('.main-header').outerHeight();
var footerHeight = $('.footer').height();
var nameBoxHeight = $('#fileNameBox').height() ? $('#fileNameBox').height() : 0;
codeHeight -= headerHeight + footerHeight + nameBoxHeight;