Merge pull request #6241 from open-sausages/pulls/4.0/fix-pagination-wrapping

BUG Prevent pagination wrapping
This commit is contained in:
Damian Mooyman 2016-10-28 13:44:28 +13:00 committed by GitHub
commit adfd0456de
2 changed files with 8 additions and 4 deletions

View File

@ -14169,6 +14169,7 @@ li.class-ErrorPage>a .jstree-pageicon{
.grid-field__paginator{
position:relative;
white-space:nowrap;
}
.grid-field__paginator_numbers{
@ -14176,14 +14177,15 @@ li.class-ErrorPage>a .jstree-pageicon{
}
.grid-field__paginator__controls{
white-space:nowrap;
position:absolute;
height:36px;
top:50%;
left:50%;
margin-top:-18px;
margin-left:-125px;
margin-left:-130px;
z-index:5;
width:250px;
width:260px;
text-align:center;
}

View File

@ -319,6 +319,7 @@
.grid-field__paginator {
position: relative;
white-space: nowrap;
}
// TODO create pagination component
@ -327,14 +328,15 @@
}
.grid-field__paginator__controls {
white-space: nowrap;
position: absolute;
height: 36px;
top: 50%;
left: 50%;
margin-top: -18px;
margin-left: -125px; // half the width of .datagrid-pagination - centers pagination
margin-left: -130px; // half the width of .datagrid-pagination - centers pagination
z-index: 5;
width: 250px;
width: 260px;
text-align: center;
.pagination-page-number {