#32391 closed Bug (fixed)
Replace width with flex properties for the changelist filter
Reported by: | Denis Skulimovskiy | Owned by: | nobody |
---|---|---|---|
Component: | contrib.admin | Version: | 3.1 |
Severity: | Release blocker | Keywords: | changelist, css |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | yes |
Description
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.
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
Change History (6)
comment:1 by , 4 years ago
comment:2 by , 4 years ago
Component: | Uncategorized → contrib.admin |
---|---|
Severity: | Normal → Release blocker |
Triage Stage: | Unreviewed → Accepted |
OK, initial glance looks right. (I need to test more fully but...)
I think we can take this as a bug in the new sidebar feature for Django 3.1.
comment:3 by , 4 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
Note:
See TracTickets
for help on using tickets.
Pull request: https://github.com/django/django/pull/13941