fix(frontend): restore tablet pagination layout (space-between + flex order)
The Bulma partial applied justify-content: space-between on .pagination and flex-order 1/2/3 on prev/list/next inside a tablet media query under .is-centered — the port missed both. Pixel-diff against main is now zero.
This commit is contained in:
parent
8f64836999
commit
b241c293d0
|
|
@ -159,11 +159,13 @@ const pages = computed(() => createPagination(props.totalPages, props.currentPag
|
|||
}
|
||||
|
||||
.pagination {
|
||||
justify-content: space-between;
|
||||
margin-block: 0;
|
||||
|
||||
&.is-centered {
|
||||
.pagination-list {
|
||||
justify-content: center;
|
||||
order: 2;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -132,6 +132,16 @@ const emit = defineEmits<{
|
|||
.pagination-link {
|
||||
margin-block: 0;
|
||||
}
|
||||
|
||||
// BasePagination hardcodes `.is-centered`, so prev and next are flex-ordered
|
||||
// around the centered page list (prev left, list middle, next right).
|
||||
.pagination-previous {
|
||||
order: 1;
|
||||
}
|
||||
|
||||
.pagination-next {
|
||||
order: 3;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue