1
0
mirror of https://github.com/django/django.git synced 2025-03-09 17:02:43 +00:00

[4.2.x] Fixed #34991 -- Fixed pagination links and input layout in admin's change list page when using list_editable.

Regression in b4817d20b9e55df30be0b1b2ca8c8bb6d61aab07.

Thanks Tom Carrick for the report and fix.

Backport of 4eb9c3d90aff55182151b6be0122f7d0b28832fd from main
This commit is contained in:
Tom Carrick 2023-11-23 11:16:44 +01:00 committed by Natalia
parent cf95de9d24
commit 3d943c4f55
3 changed files with 21 additions and 0 deletions

View File

@ -1090,6 +1090,9 @@ a.deletelink:focus, a.deletelink:hover {
/* PAGINATOR */
.paginator {
display: flex;
align-items: center;
gap: 4px;
font-size: 0.8125rem;
padding-top: 10px;
padding-bottom: 10px;
@ -1133,6 +1136,10 @@ a.deletelink:focus, a.deletelink:hover {
background: var(--link-hover-color);
}
.paginator input {
margin-left: auto;
}
.base-svgs {
display: none;
}

View File

@ -107,6 +107,16 @@ thead th.sorted .text {
border-left: none;
}
.paginator .end {
margin-left: 6px;
margin-right: 0;
}
.paginator input {
margin-left: 0;
margin-right: auto;
}
/* FORMS */
.aligned label {

View File

@ -20,3 +20,7 @@ Bugfixes
* Fixed a regression in Django 4.2 that caused a crash when annotating a
``QuerySet`` with a ``Window`` expressions composed of a ``partition_by``
clause mixing field types and aggregation expressions (:ticket:`34987`).
* Fixed a regression in Django 4.2 where the admin's change list page had
misaligned pagination links and inputs when using ``list_editable``
(:ticket:`34991`).