Merge branch 'master' of https://github.com/b3log/wide
This commit is contained in:
		
						commit
						a09b688a15
					
				| 
						 | 
					@ -142,12 +142,6 @@
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
/* end tabs */
 | 
					/* end tabs */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* start framework */
 | 
					 | 
				
			||||||
.content {
 | 
					 | 
				
			||||||
    position: relative;
 | 
					 | 
				
			||||||
}
 | 
					 | 
				
			||||||
/* end framework */
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
/* start menu */
 | 
					/* start menu */
 | 
				
			||||||
.menu {
 | 
					.menu {
 | 
				
			||||||
    background-color: #F0F0F0;
 | 
					    background-color: #F0F0F0;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -314,9 +314,10 @@ var wide = {
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    _initLayout: function () {
 | 
					    _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);
 | 
					                bottomH = Math.floor(mainH * 0.3);
 | 
				
			||||||
        $(".content").height(mainH);
 | 
					        // 减小初始化界面抖动
 | 
				
			||||||
 | 
					        $(".content").height(mainH).css("position", "relative");
 | 
				
			||||||
        $(".side .tabs-panel").height(mainH - 20);
 | 
					        $(".side .tabs-panel").height(mainH - 20);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        $(".bottom-window-group > .tabs-panel > div > div").height(bottomH - 20);
 | 
					        $(".bottom-window-group > .tabs-panel > div > div").height(bottomH - 20);
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue