#34994: Visual regression in admin checkboxes on mobile
-------------------------------------+-------------------------------------
     Reporter:  Tom Carrick          |                    Owner:  Tom
                                     |  Carrick
         Type:  Bug                  |                   Status:  closed
    Component:  contrib.admin        |                  Version:  4.2
     Severity:  Release blocker      |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Ready for
                                     |  checkin
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Comment (by Adam Johnson):

 This is still broken for fieldsets with a checkbox plus another field on
 the same line, like:

 {{{
 class SwitcherAdmin(admin.ModelAdmin):
     fieldsets = [
         (
             None,
             {
                 "fields": [
                     ("up", "down"),
                 ],
             },
         ),
     ]
 }}}

 [[Image(https://code.djangoproject.com/raw-
 attachment/ticket/34994/Xnapper-2024-04-18-12.31.19.png, 640px)]]

 This is due to `checkbox-row` being only applied when there’s a single
 checkbox in the row. I am making a small PR that fixes this issue and
 another, #35386. Follw on that ticket.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/34994#comment:16>
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 django-updates+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/0107018ef10bbe60-5050db8a-1e49-4ba4-83a5-fd4595657fb1-000000%40eu-central-1.amazonses.com.

Reply via email to