Skip to content

Commit 2b1e9a3

Browse files
committed
Merge pull request #4616 from ashwin027/viewportfix
Fix for Pagination styling is broken on IE9. #2552
2 parents 58e83ec + 1c60713 commit 2b1e9a3

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/features/pagination/js/pagination.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@
355355
var options = uiGridCtrl.grid.options;
356356

357357
uiGridCtrl.grid.renderContainers.body.registerViewportAdjuster(function (adjustment) {
358-
adjustment.height = adjustment.height - gridUtil.elementHeight($elm);
358+
adjustment.height = adjustment.height - gridUtil.elementHeight($elm, "padding");
359359
return adjustment;
360360
});
361361

src/features/pagination/less/pagination.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
width: 100%;
1010
padding-top: 3px;
1111
padding-bottom: 3px;
12+
box-sizing: content-box;
1213
}
1314

1415
.ui-grid-pager-container {

0 commit comments

Comments
 (0)