Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

Feature Request: button styled like a collapsible #1035

Closed
@timtucker

Description

@timtucker

I have a need for something that looks like a collapsible but functions like a button.

On one of my pages I have a series of options for the user to choose from that look somewhat like the following:

+ Option A Collapsible
  (content for Option A)

+ Option B Collapsible
  (content for Option B)

  Option C Button

I would like for the "Option C" button to have similar styling to the collapsible options for A & B, without the "+/-" icon but with the spacing as if the icon were there so that the text for the options lines up with Options A and B.

Currently I have the following hard-coded, but code-wise it looks a bit ugly and I'm afraid that it could cause maintenance issues down the road if the generated markup changes over time:

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