Changes between Version 3 and Version 4 of Ticket #36850


Ignore:
Timestamp:
Jan 7, 2026, 8:32:00 AM (2 days ago)
Author:
Mark
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36850

    • Property Summary Django Admin filter sidebar wraps if it's inner content becomes too largeDjango 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 seemling should have a fixed width of 240px.
     1In 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.
    22
    3 The flex-base property does in this case not 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).
     3The 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).
    44
    55This behavior can be simulated by giving a sidebar's and changelist's children some fixed, large width:
     
    1414}}}
    1515
    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].
     16The 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].
    1717
    1818Should the width of the sidebar stick to 240px or - at it has been before - should the sidebar grow if necessary?
Back to Top