Przeglądaj źródła

优化框体高度宽度

Chente 8 lat temu
rodzic
commit
1a03dc36a6
2 zmienionych plików z 4 dodań i 1 usunięć
  1. 3 0
      css/main.css
  2. 1 1
      js/global.js

+ 3 - 0
css/main.css

@@ -88,6 +88,9 @@ body {
     border-left: 1px solid #ccc;
     overflow-y: hidden;
 }
+.main-data-top{
+  overflow: hidden;
+}
 .sidebar-bottom,.sidebar-bottom .col-lg-6,.sidebar-bottom .col-lg-12 {
   height:200px
 }

+ 1 - 1
js/global.js

@@ -4,7 +4,7 @@ function autoFlashHeight(){
     var toolsbarHeight = $(".toolsbar").height();
     var bottomContentHeight = $(".bottom-content").height();
     var sidebarToolsBarHeight = $(".sidebar-tools-bar").height();
-    $(".main-data-side-f").height($(window).height()-headerHeight-toolsbarHeight-2);
+    $(".main-data-side-f").height($(window).height()-headerHeight-toolsbarHeight-sidebarToolsBarHeight-202);
     $(".main-data-side-s").height($(window).height()-headerHeight-toolsbarHeight-sidebarToolsBarHeight-202);
     $(".main-data-top").height($(window).height()-headerHeight-toolsbarHeight-bottomContentHeight-1);
     $(".main-data-full").height($(window).height()-headerHeight-toolsbarHeight-1);