From 7b12b917f2a14ba9fd417520acab62221a078a32 Mon Sep 17 00:00:00 2001 From: Jacob Walls Date: Wed, 17 Dec 2025 09:27:01 -0500 Subject: [6.0.x] Fixed #36807 -- Fixed form field alignment under
in the admin. It isn't safe to set display: flex on
, because on Safari this interferes with display: block on child divs. Thanks Paulo Coutinho for the report and Antoliny for the review. Regression in 4187da258fe212d494cb578a0bc2b52c4979ab95. Backport of 1eac2659a102d42490f9401b08782633fa51f3e3 from main. --- tests/auth_tests/test_views.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests') diff --git a/tests/auth_tests/test_views.py b/tests/auth_tests/test_views.py index 23dc858ddd..3d6f1803a3 100644 --- a/tests/auth_tests/test_views.py +++ b/tests/auth_tests/test_views.py @@ -1553,8 +1553,7 @@ class ChangelistTests(MessagesTestMixin, AuthViewsTestCase): # Usable password field. self.assertContains( response, - '
' - "Password-based authentication:", + "
Password-based authentication:", ) # Submit buttons self.assertContains(response, '