Skip to content

Add support for accordion-flush #60

@JimiRecard

Description

@JimiRecard

Bootstrap5 introduced "accordion-flush" html class, which basically removes borders and rounding from accordions.

This could be added by creating an AccordionFlush python class at bootstrap.py and an accordion-flush.html layout.

Alternatively, the Accordion python class could be modified in order to accept an optional "accordion-flush" css class on the template, since it's the only difference from a standard accordion. I think this solution might be the more elegant one.

I'll try to work it out and propose a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions