mirror of
https://github.com/django/django.git
synced 2025-11-02 21:03:53 +00:00
Fixed #32069 -- Fixed admin change-form layout on small screens.
Restored flex-wrap CSS declaration to form elements at smallest breakpoint. This was present since the responsive admin was introduced indc37e8846e. Regression in8ee4bb6ffc, where it was accidentally removed.
This commit is contained in:
parent
096b14f0ac
commit
257f8495d6
2 changed files with 4 additions and 0 deletions
|
|
@ -558,6 +558,7 @@ input[type="submit"], button {
|
|||
.aligned .form-row,
|
||||
.aligned .form-row > div {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
max-width: 100vw;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -45,3 +45,6 @@ Bugfixes
|
|||
:exc:`RestrictedError.restricted_objects <django.db.models.RestrictedError>`
|
||||
attributes returned iterators instead of :py:class:`set` of objects
|
||||
(:ticket:`32107`).
|
||||
|
||||
* Fixed a regression in Django 3.1.2 that caused incorrect form input layout on
|
||||
small screens in the admin change form view (:ticket:`32069`).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue