mirror of https://github.com/django/django.git
Fixed #34994 -- Fixed checkbox layout in admin's change page for narrow screen widths.
Regression in d687febce5
.
This commit is contained in:
parent
4eb9c3d90a
commit
a89c715c3b
|
@ -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