Browse Source

锚点定位bug

zhouna 5 years ago
parent
commit
4bf7e41d61
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/css/qcScore.less
  2. 1 1
      src/js/utils.js

+ 1 - 1
src/css/qcScore.less

@@ -164,7 +164,7 @@
 }
 }
 .tab-container{
 .tab-container{
   margin-left: @menuWt+15px;
   margin-left: @menuWt+15px;
-  height: 100%;
+  /*height: 100%;*/
   .content-box{
   .content-box{
     width:78%;
     width:78%;
     height: 100%;
     height: 100%;

+ 1 - 1
src/js/utils.js

@@ -170,7 +170,7 @@ $(".modal .close").click(function(){
 function setBoxHeight(){
 function setBoxHeight(){
   const ht=window.innerHeight;
   const ht=window.innerHeight;
   $(".content-box,.flaw-table").height((ht-75)+'px');
   $(".content-box,.flaw-table").height((ht-75)+'px');
-  $(".content-ht").height((ht-126)+"px");
+  $(".content-ht").height((ht-140)+"px");
 }
 }
 setBoxHeight();
 setBoxHeight();
 $(window).resize(function(){
 $(window).resize(function(){