Selaa lähdekoodia

fix(handsontable): fixed left 多出 4px

qinlaiqiao 5 vuotta sitten
vanhempi
commit
2e26f7d385
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  1. 2 1
      handsontable/src/3rdparty/walkontable/src/overlay/left.js

+ 2 - 1
handsontable/src/3rdparty/walkontable/src/overlay/left.js

@@ -163,7 +163,8 @@ class LeftOverlay extends Overlay {
     this.clone.wtTable.holder.style.height = overlayRootStyle.height;
     this.clone.wtTable.holder.style.height = overlayRootStyle.height;
 
 
     const tableWidth = outerWidth(this.clone.wtTable.TABLE);
     const tableWidth = outerWidth(this.clone.wtTable.TABLE);
-    overlayRootStyle.width = `${tableWidth === 0 ? tableWidth : tableWidth + 4}px`;
+    // overlayRootStyle.width = `${tableWidth === 0 ? tableWidth : tableWidth + 4}px`;
+    overlayRootStyle.width = `${tableWidth}px`;
   }
   }
 
 
   /**
   /**