浏览代码

fix(js): bug in the calculation of toolbar and pagination heights

zhixin 9 年之前
父节点
当前提交
1d42d12521
共有 2 个文件被更改,包括 4 次插入3 次删除
  1. 1 0
      CHANGELOG.md
  2. 3 3
      src/bootstrap-table.css

+ 1 - 0
CHANGELOG.md

@@ -9,6 +9,7 @@ ChangeLog
 - fix(js): fix #750, showRow and hideRow bug
 - fix(js): fix #2387, page list bug
 - fix(js): decrement totalRows on remove if using server side pagination
+- fix(js): bug in the calculation of toolbar and pagination heights
 - feat(js): fix #2414, add `paginationLoop` option
 - feat(js): update method `getRowsHidden` to `getHiddenRows`
 - feat(js): add `sortClass` option

+ 3 - 3
src/bootstrap-table.css

@@ -307,7 +307,7 @@ div.fixed-table-scroll-outer {
 
 /* for get correct heights  */
 .fixed-table-toolbar:after, .fixed-table-pagination:after {
-  content:"";
-  display:block;
-  clear:both;
+    content: "";
+    display: block;
+    clear: both;
 }