diff options
| author | Jacob Walls <jacobtylerwalls@gmail.com> | 2025-12-17 09:27:01 -0500 |
|---|---|---|
| committer | Jacob Walls <jacobtylerwalls@gmail.com> | 2025-12-22 21:04:35 -0500 |
| commit | 7b12b917f2a14ba9fd417520acab62221a078a32 (patch) | |
| tree | e389a09a6515b176c4bf2daf16cdfae524c002aa /tests | |
| parent | 847b2badccbd87fc3e657725eb316b092265912d (diff) | |
[6.0.x] Fixed #36807 -- Fixed form field alignment under <fieldset> in the admin.
It isn't safe to set display: flex on <fieldset>, 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.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/auth_tests/test_views.py | 3 |
1 files changed, 1 insertions, 2 deletions
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, - '<fieldset class="flex-container">' - "<legend>Password-based authentication:</legend>", + "<fieldset><legend>Password-based authentication:</legend>", ) # Submit buttons self.assertContains(response, '<input type="submit" name="set-password"') |
