ソースを参照

Fix firefox display bug.

zhixin 11 年 前
コミット
66990d9ae7
2 ファイル変更1 行追加2 行削除
  1. 1 1
      src/bootstrap-table.css
  2. 0 1
      src/bootstrap-table.js

+ 1 - 1
src/bootstrap-table.css

@@ -1,7 +1,7 @@
 .table {
     margin-bottom: 0 !important;
     border-bottom: 1px solid #dddddd;
-    border-collapse: separate;
+    border-collapse: separate !important;
 }
 
 .fixed-table-container {

+ 0 - 1
src/bootstrap-table.js

@@ -687,7 +687,6 @@
 
         this.$header.find('.th-inner').each(function(i) {
             var width = $(this).parent().width();
-            $(this).parent().width(width);
             $(this).attr('style', header.styles[i])
                 .css('position', 'absolute')
                 .css('width', width + 'px'); // padding: 8px