diff --git a/django/contrib/admin/static/admin/css/forms.css b/django/contrib/admin/static/admin/css/forms.css index 6cfe9da119..9a8dad08cc 100644 --- a/django/contrib/admin/static/admin/css/forms.css +++ b/django/contrib/admin/static/admin/css/forms.css @@ -26,6 +26,10 @@ form .form-row p { display: flex; } +.form-multiline { + flex-wrap: wrap; +} + .form-multiline > div { padding-bottom: 10px; } diff --git a/docs/releases/4.2.9.txt b/docs/releases/4.2.9.txt index f98803f5ea..5202fbb6e7 100644 --- a/docs/releases/4.2.9.txt +++ b/docs/releases/4.2.9.txt @@ -9,4 +9,5 @@ Django 4.2.9 fixes a bug in 4.2.8. Bugfixes ======== -* ... +* Fixed a regression in Django 4.2.8 where admin fields on the same line could + overflow the page and become non-interactive (:ticket:`35012`). diff --git a/docs/releases/5.0.1.txt b/docs/releases/5.0.1.txt index 2e720e57f0..79fbf9a0a1 100644 --- a/docs/releases/5.0.1.txt +++ b/docs/releases/5.0.1.txt @@ -24,3 +24,6 @@ Bugfixes * Fixed a bug in Django 5.0 that caused a migration crash on Oracle < 23c when adding a ``GeneratedField`` with ``output_field=BooleanField`` (:ticket:`35018`). + +* Fixed a regression in Django 5.0 where admin fields on the same line could + overflow the page and become non-interactive (:ticket:`35012`).