Bläddra i källkod

锚点定位bug

zhouna 5 år sedan
förälder
incheckning
4bf7e41d61
2 ändrade filer med 2 tillägg och 2 borttagningar
  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{
   margin-left: @menuWt+15px;
-  height: 100%;
+  /*height: 100%;*/
   .content-box{
     width:78%;
     height: 100%;

+ 1 - 1
src/js/utils.js

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