Skip to content

Facet collapse breakpoint (facets-toggleable-md) should be customizable #2733

Closed
@seanaery

Description

@seanaery

The FacetGroupComponent view component has a hard-coded value for the classes:
class: 'facets sidenav facets-toggleable-md'

This makes the facets collapse under a hamburger menu toggle below the large breakpoint (< 992px by default).

This works OK if you use the default col-lg-3 sidebar + col-lg-9 main content layout. But if you are overriding Blacklight's (useful) layout helpers to specify different classes (e.g., to keep the facets sidebar visible at the md or sm breakpoints), you'd also need to change facets-toggleable-md to be -sm or -xs.

Screen Shot 2022-06-08 at 3 09 37 PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions