Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplified styling of Card layout #2343

Merged
merged 2 commits into from
Jun 2, 2021
Merged

Simplified styling of Card layout #2343

merged 2 commits into from
Jun 2, 2021

Conversation

philippjfr
Copy link
Member

The Card css was somewhat brittle and I did not much like the old +/- indicators for uncollapsed/collapsed states respectively. This PR changes the styling to use arrows as indicators instead and makes the CSS less brittle:

Accordion

Screen Shot 2021-06-02 at 6 06 50 PM

Cards

Screen Shot 2021-06-02 at 6 07 35 PM

@philippjfr philippjfr merged commit 322d52c into master Jun 2, 2021
@philippjfr philippjfr deleted the card_cleanup branch June 2, 2021 17:26
@jbednar
Copy link
Member

jbednar commented Jun 2, 2021

The down arrow when it's expanded makes good sense, given that it points to all the expanded content, but I think I've more often seen a right arrow than an up arrow for the unexpanded one, I presume because clicking on it feels like moving forward. Your call, of course!

@philippjfr
Copy link
Member Author

No you're right, feels more natural. Will follow up tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants