#36850: Django Admin filter sidebar wraps if its inner content becomes too large
---------------------------------+-----------------------------------------
     Reporter:  Mark             |                    Owner:  Nilesh Pahari
         Type:  Bug              |                   Status:  assigned
    Component:  contrib.admin    |                  Version:  6.0
     Severity:  Release blocker  |               Resolution:
     Keywords:  css              |             Triage Stage:  Accepted
    Has patch:  1                |      Needs documentation:  0
  Needs tests:  0                |  Patch needs improvement:  0
Easy pickings:  0                |                    UI/UX:  1
---------------------------------+-----------------------------------------
Comment (by Antoliny):

 Thank you for reporting this issue Mark :)

 The goal of #36511 was to ensure that filter elements are reached before
 table elements during tab navigation (accessibility improvement).
 And of course, the existing layout should have been maintained.
 As mentioned above, it should have been kept identical to the existing
 layout, and I think maintaining it is the best approach.
 In a way that allows the sidebar to grow as it did before.

 If we remove `flex-wrap` and add `min-width` to the area where the table
 exists, I think we'll get the same layout as before even when the filter
 element's width increases.
 By the way, could you let me know how you discovered this issue?

 I'm a bit unsure about how to write regression tests for this.
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36850#comment:9>
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 visit 
https://groups.google.com/d/msgid/django-updates/0107019bb6b9bfa3-33b9e5a4-5ca7-4804-b836-96c8adfac915-000000%40eu-central-1.amazonses.com.

Reply via email to