Browse Source

IE8样式修改

wyq 4 years ago
parent
commit
25aed3725d
2 changed files with 3 additions and 3 deletions
  1. 2 2
      src/css/staticInfo.less
  2. 1 1
      src/js/staticInfo.js

+ 2 - 2
src/css/staticInfo.less

@@ -93,7 +93,7 @@
     height: 100%;
     overflow-y: auto;
     /*padding: 0 60px 0 0;*/
-    width: calc(100% - 250px);
+    // width: calc(100% - 250px);
   }
 
   .infos>div {
@@ -151,7 +151,7 @@
     overflow-y: auto;
     background-color: #EDFAFF;
     padding: 25px 0;
-    height: calc(100% - 50px);
+    // height: calc(100% - 50px);
     overflow-x: hidden;
   }
 

+ 1 - 1
src/js/staticInfo.js

@@ -338,7 +338,6 @@ function getchecks() {
     }
   });
 }
-
 function getResult(pushInfo, textType) {
   $(".but").click(function () {
     let arr = [];
@@ -501,6 +500,7 @@ function adjustHeight() {
 function adjustWidth() {
   var wt = window.innerWidth || document.documentElement.clientWidth;
   $(".titleH2").width(wt - 0.2 * wt - 33 - 200 - 17 - 40 - 15 + 'px')
+  $(".content .infos").width(wt - 0.2 * wt - 33 + 'px');
   //$("pre").width(wt- 0.2*wt - 240 + 'px')
 }
 $(window).on('resize', function () {