Skip to content

Commit 1c60713

Browse files
committed
Fix for Pagination styling is broken on IE9. #2552
The code changes fix the pagination controls display issues in IE10 and above
1 parent 5cbaf5f commit 1c60713

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)