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

View File

@ -319,6 +319,7 @@
.grid-field__paginator { .grid-field__paginator {
position: relative; position: relative;
white-space: nowrap;
} }
// TODO create pagination component // TODO create pagination component
@ -327,14 +328,15 @@
} }
.grid-field__paginator__controls { .grid-field__paginator__controls {
white-space: nowrap;
position: absolute; position: absolute;
height: 36px; height: 36px;
top: 50%; top: 50%;
left: 50%; left: 50%;
margin-top: -18px; 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; z-index: 5;
width: 250px; width: 260px;
text-align: center; text-align: center;
.pagination-page-number { .pagination-page-number {