mirror of
https://github.com/django/django.git
synced 2025-10-24 14:16:09 +00:00
[4.2.x] Fixed #34994 -- Fixed checkbox layout in admin's change page for narrow screen widths.
Regression ind687febce5. Backport ofa89c715c3bfrom main
This commit is contained in:
@@ -565,6 +565,10 @@ input[type="submit"], button {
|
|||||||
flex-flow: column;
|
flex-flow: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.flex-container.checkbox-row {
|
||||||
|
flex-flow: row;
|
||||||
|
}
|
||||||
|
|
||||||
textarea {
|
textarea {
|
||||||
max-width: none;
|
max-width: none;
|
||||||
}
|
}
|
||||||
@@ -598,10 +602,6 @@ input[type="submit"], button {
|
|||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.aligned .checkbox-row {
|
|
||||||
align-items: center;
|
|
||||||
}
|
|
||||||
|
|
||||||
.aligned .checkbox-row input {
|
.aligned .checkbox-row input {
|
||||||
flex: 0 1 auto;
|
flex: 0 1 auto;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|||||||
@@ -78,4 +78,7 @@
|
|||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
margin-right: 0;
|
margin-right: 0;
|
||||||
}
|
}
|
||||||
|
[dir="rtl"] .aligned .vCheckboxLabel {
|
||||||
|
padding: 1px 5px 0 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -24,3 +24,6 @@ Bugfixes
|
|||||||
* Fixed a regression in Django 4.2 where the admin's change list page had
|
* Fixed a regression in Django 4.2 where the admin's change list page had
|
||||||
misaligned pagination links and inputs when using ``list_editable``
|
misaligned pagination links and inputs when using ``list_editable``
|
||||||
(:ticket:`34991`).
|
(:ticket:`34991`).
|
||||||
|
|
||||||
|
* Fixed a regression in Django 4.2 where checkboxes in the admin would be
|
||||||
|
centered on narrower screen widths (:ticket:`34994`).
|
||||||
|
|||||||
Reference in New Issue
Block a user