10000 Fixed #32069 -- Fixed admin change-form layout on small screens. by carltongibson · Pull Request #13573 · django/django · GitHub
[go: up one dir, main page]

Skip to content

Fixed #32069 -- Fixed admin change-form layout on small screens. #13573

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 21, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 in dc37e88.
Regression in 8ee4bb6, where it was accidentally removed.
  • Loading branch information
carltongibson committed Oct 21, 2020
commit f12767a02bd11879f2d037e93ba7714ce5370666
1 change: 1 addition & 0 deletions django/contrib/admin/static/admin/css/responsive.css
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,7 @@ input[type="submit"], button {
.aligned .form-row,
.aligned .form-row > div {
display: flex;
flex-wrap: wrap;
max-width: 100vw;
}

Expand Down
3 changes: 3 additions & 0 deletions docs/releases/3.1.3.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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`).
0