Changes between Version 3 and Version 4 of Ticket #36850
- Timestamp:
- Jan 7, 2026, 8:32:00 AM (2 days ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36850
- Property Summary Django Admin filter sidebar wraps if it's inner content becomes too large → Django Admin filter sidebar wraps if its inner content becomes too large
-
Ticket #36850 – Description
v3 v4 1 In the course of ticket [https://code.djangoproject.com/ticket/36511 #36511] the layout of the changelist and it 's filter sidebar has been changed so that the sidebar seemlingshould have a fixed width of 240px.1 In the course of ticket [https://code.djangoproject.com/ticket/36511 #36511] the layout of the changelist and its filter sidebar has been changed so that the sidebar seemingly should have a fixed width of 240px. 2 2 3 The flex-base property does in this case notrestrict the width of the sidebar if it's content demands more (which happens eg. for dropdowns with large titles). Combined with the flex: wrap attribute, the sidebar wraps if the table also demands more width than available and looks broken (see attachment).3 The flex-base property does not necessarily restrict the width of the sidebar if it's content demands more (which happens eg. for dropdowns with large titles). Combined with the flex: wrap attribute, the sidebar wraps if the table also demands more width than available and looks broken (see attachment). 4 4 5 5 This behavior can be simulated by giving a sidebar's and changelist's children some fixed, large width: … … 14 14 }}} 15 15 16 The problem could be resolved by reverting to the previous flex layout but the motivation for those changes is unclear to me from the ticket and [https://github.com/django/django/pull/19659 related pr].16 The problem could be resolved by reverting to the previous flex layout, but the motivation for those changes is unclear to me from the ticket and [https://github.com/django/django/pull/19659 related pr]. 17 17 18 18 Should the width of the sidebar stick to 240px or - at it has been before - should the sidebar grow if necessary?