mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	[5.0.x] Fixed #34991 -- Fixed pagination links and input layout in admin's change list page when using list_editable.
Regression inb4817d20b9. Thanks Tom Carrick for the report and fix. Backport of4eb9c3d90afrom main
This commit is contained in:
		| @@ -1088,6 +1088,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; | ||||||
| @@ -1131,6 +1134,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`). | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user