fullscreen

This commit is contained in:
Van 2014-09-24 16:42:17 +08:00
parent 2bff023550
commit 4c92a7d1b5
1 changed files with 5 additions and 1 deletions

View File

@ -302,6 +302,10 @@ var wide = {
if ($it.hasClass("bottom-window-group-fullscreen")) { if ($it.hasClass("bottom-window-group-fullscreen")) {
$(".bottom-window-group").removeClass("bottom-window-group-fullscreen"); $(".bottom-window-group").removeClass("bottom-window-group-fullscreen");
var bottomH = $(".bottom-window-group").height();
$(".bottom-window-group .output, notification").height(bottomH - 23);
$(".bottom-window-group .notification, .bottom-window-group .search").height(bottomH - 20);
} else { } else {
var bottomH = $(".content, .ztree").height(); var bottomH = $(".content, .ztree").height();
$(".bottom-window-group .output, notification").height(bottomH - 22); $(".bottom-window-group .output, notification").height(bottomH - 22);