mirror of
https://github.com/django/django.git
synced 2025-03-10 01:12:53 +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:
parent
cf95de9d24
commit
3d943c4f55
@ -1090,6 +1090,9 @@ a.deletelink:focus, a.deletelink:hover {
|
|||||||
/* PAGINATOR */
|
/* PAGINATOR */
|
||||||
|
|
||||||
.paginator {
|
.paginator {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
gap: 4px;
|
||||||
font-size: 0.8125rem;
|
font-size: 0.8125rem;
|
||||||
padding-top: 10px;
|
padding-top: 10px;
|
||||||
padding-bottom: 10px;
|
padding-bottom: 10px;
|
||||||
@ -1133,6 +1136,10 @@ a.deletelink:focus, a.deletelink:hover {
|
|||||||
background: var(--link-hover-color);
|
background: var(--link-hover-color);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.paginator input {
|
||||||
|
margin-left: auto;
|
||||||
|
}
|
||||||
|
|
||||||
.base-svgs {
|
.base-svgs {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
@ -107,6 +107,16 @@ thead th.sorted .text {
|
|||||||
border-left: none;
|
border-left: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.paginator .end {
|
||||||
|
margin-left: 6px;
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.paginator input {
|
||||||
|
margin-left: 0;
|
||||||
|
margin-right: auto;
|
||||||
|
}
|
||||||
|
|
||||||
/* FORMS */
|
/* FORMS */
|
||||||
|
|
||||||
.aligned label {
|
.aligned label {
|
||||||
|
@ -20,3 +20,7 @@ Bugfixes
|
|||||||
* Fixed a regression in Django 4.2 that caused a crash when annotating a
|
* Fixed a regression in Django 4.2 that caused a crash when annotating a
|
||||||
``QuerySet`` with a ``Window`` expressions composed of a ``partition_by``
|
``QuerySet`` with a ``Window`` expressions composed of a ``partition_by``
|
||||||
clause mixing field types and aggregation expressions (:ticket:`34987`).
|
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`).
|
||||||
|
Loading…
x
Reference in New Issue
Block a user