mirror of
https://github.com/django/django.git
synced 2025-01-12 03:15:47 +00:00
[5.0.x] Fixed #34994 -- Fixed checkbox layout in admin's change page for narrow screen widths.
Regression ind687febce5
. Backport ofa89c715c3b
from main
This commit is contained in:
parent
15d49c8082
commit
4d33816ca6
@ -565,6 +565,10 @@ input[type="submit"], button {
|
||||
flex-flow: column;
|
||||
}
|
||||
|
||||
.flex-container.checkbox-row {
|
||||
flex-flow: row;
|
||||
}
|
||||
|
||||
textarea {
|
||||
max-width: none;
|
||||
}
|
||||
@ -598,10 +602,6 @@ input[type="submit"], button {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.aligned .checkbox-row {
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.aligned .checkbox-row input {
|
||||
flex: 0 1 auto;
|
||||
margin: 0;
|
||||
|
@ -78,4 +78,7 @@
|
||||
margin-left: 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
|
||||
misaligned pagination links and inputs when using ``list_editable``
|
||||
(:ticket:`34991`).
|
||||
|
||||
* Fixed a regression in Django 4.2 where checkboxes in the admin would be
|
||||
centered on narrower screen widths (:ticket:`34994`).
|
||||
|
Loading…
Reference in New Issue
Block a user