PageIndexWidget: display current page on smartphones, too
This commit is contained in:
@@ -81,29 +81,17 @@ a:hover {
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.pagination {
|
||||
height: 52px;
|
||||
display: block;
|
||||
position: relative;
|
||||
}
|
||||
.pagination .page-number, .pagination .page-padding {
|
||||
display: none;
|
||||
}
|
||||
.pagination .page-link {
|
||||
border-radius: var(--bs-pagination-border-radius) !important;
|
||||
}
|
||||
.pagination > :first-child, .pagination > :last-child, .pagination .first-wildcard {
|
||||
display: inline-block;
|
||||
position: absolute;
|
||||
}
|
||||
.pagination > :first-child {
|
||||
left: 0;
|
||||
}
|
||||
.pagination > .first-wildcard {
|
||||
left: 48%;
|
||||
}
|
||||
.pagination > :last-child {
|
||||
right: 0;
|
||||
.pagination > :first-child,
|
||||
.pagination > :last-child,
|
||||
.pagination .first-wildcard,
|
||||
.pagination .page-number.active {
|
||||
display: inline-flex;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user