#35769: Multiline fields display wrong in tablet/phone sizes
--------------------------------+--------------------------------------
Reporter: Richard Laager | Owner: (none)
Type: Bug | Status: closed
Component: contrib.admin | Version: 4.2
Severity: Normal | Resolution: worksforme
Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 1
--------------------------------+--------------------------------------
Changes (by Sarah Boyce):
* resolution: => worksforme
* status: new => closed
Comment:
When I make the following update and run the screenshot tests (`python
./runtests.py --selenium=chrome --screenshots
admin_views.tests.SeleniumTests`),
{{{#!diff
--- a/tests/admin_views/admin.py
+++ b/tests/admin_views/admin.py
@@ -1233,7 +1233,7 @@ site.register(Bookmark)
site.register(CyclicOne)
site.register(CyclicTwo)
site.register(WorkHour, WorkHourAdmin)
-site.register(Reservation)
+site.register(Reservation, fields=(("start_date", "price"),))
site.register(FoodDelivery, FoodDeliveryAdmin)
}}}
I get the following which look fine to me
Desktop:
[[Image(test_first_field_focus--focus-multi-widget--desktop_size.png)]]
Mobile:
[[Image(test_first_field_focus--focus-multi-widget--mobile_size.png)]]
Have you been able to replicate on main? Can you share the code of a
Django admin/model to replicate?
--
Ticket URL: <https://code.djangoproject.com/ticket/35769#comment:2>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070191ff80c960-b8b5bd42-cfec-4a3f-99e9-46f263fd7928-000000%40eu-central-1.amazonses.com.