This commit is contained in:
Liang Ding 2014-11-06 17:48:39 +08:00
commit a09b688a15
2 changed files with 3 additions and 8 deletions

View File

@ -142,12 +142,6 @@
}
/* end tabs */
/* start framework */
.content {
position: relative;
}
/* end framework */
/* start menu */
.menu {
background-color: #F0F0F0;

View File

@ -314,9 +314,10 @@ var wide = {
});
},
_initLayout: function () {
var mainH = $(window).height() - $(".menu").height() - $(".footer").height() - 1,
var mainH = $(window).height() - $(".menu").height() - $(".footer").height(),
bottomH = Math.floor(mainH * 0.3);
$(".content").height(mainH);
// 减小初始化界面抖动
$(".content").height(mainH).css("position", "relative");
$(".side .tabs-panel").height(mainH - 20);
$(".bottom-window-group > .tabs-panel > div > div").height(bottomH - 20);