#32391: Replace width with flex properties for the changelist filter
-------------------------------------+-------------------------------------
               Reporter:  Denis      |          Owner:  nobody
  Skulimovskiy                       |
                   Type:  Bug        |         Status:  new
              Component:             |        Version:  3.1
  Uncategorized                      |
               Severity:  Normal     |       Keywords:  changelist, css
           Triage Stage:             |      Has patch:  1
  Unreviewed                         |
    Needs documentation:  0          |    Needs tests:  0
Patch needs improvement:  0          |  Easy pickings:  0
                  UI/UX:  1          |
-------------------------------------+-------------------------------------
 Hi there,

 I've found a CSS bug in the Django admin. When the left-side container
 becomes too wide, the filters become squashed. That's because the flex-
 grow/shrink/basis values aren't set for the filter.

 
https://github.com/django/django/blob/master/django/contrib/admin/static/admin/css/changelists.css#L10

 I suggest replacing the width value with flex-basis and set flex-
 grow/shrink props to 0.
 I'll try to create a pull request for this fix.


 Thanks,
 Denis

-- 
Ticket URL: <https://code.djangoproject.com/ticket/32391>
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/052.8067ae693462dc2336795016ec765ae7%40djangoproject.com.

Reply via email to