fullscreen
This commit is contained in:
parent
2bff023550
commit
4c92a7d1b5
|
@ -302,11 +302,15 @@ 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);
|
||||||
$(".bottom-window-group .notification, .bottom-window-group .search").height(bottomH - 19);
|
$(".bottom-window-group .notification, .bottom-window-group .search").height(bottomH - 19);
|
||||||
|
|
||||||
$(".bottom-window-group").addClass("bottom-window-group-fullscreen");
|
$(".bottom-window-group").addClass("bottom-window-group-fullscreen");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue