mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merge pull request #6241 from open-sausages/pulls/4.0/fix-pagination-wrapping
BUG Prevent pagination wrapping
This commit is contained in:
commit
adfd0456de
6
admin/client/dist/styles/bundle.css
vendored
6
admin/client/dist/styles/bundle.css
vendored
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user