Browse Source

Fixed bottom border bug with height option

zhixin 6 years ago
parent
commit
dc285629da
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/bootstrap-table.js

+ 1 - 1
src/bootstrap-table.js

@@ -2572,7 +2572,7 @@ class BootstrapTable {
     if (!this.options.cardView && this.options.showHeader && this.options.height) {
       this.$tableHeader.show()
       this.resetHeader()
-      padding += this.$header.outerHeight(true)
+      padding += this.$header.outerHeight(true) + 1
     } else {
       this.$tableHeader.hide()
       this.trigger('post-header')