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

Deck View Feature - Collapsable Card View #48

Open
crookedneighbor opened this issue Apr 23, 2020 · 0 comments
Open

Deck View Feature - Collapsable Card View #48

crookedneighbor opened this issue Apr 23, 2020 · 0 comments
Labels
enhancement New feature or request new feature

Comments

@crookedneighbor
Copy link
Owner

Mockup:
hover

Suggested CSS from @morgunkorn

@media screen and (min-width: 920px) {
  .deck .card-grid-item:nth-child(n+5) {
    margin-top: -25%;
  }
  .deck .card-grid-item:hover {
    z-index: 1;
  }
}

Should be simple enough to add additional media queries for other widths to catch screen sizes that have fewer cards per row.

Also could be good to make the level of collapsibility adjustable. Perhaps:

  • None
  • Compessed (what the mockup/css provided is)
  • Super Compressed (only the name visible)

In addition, would be nice to get it configured so that on hover it smoothly reveals the card instead of having it look so jumpy.

@crookedneighbor crookedneighbor added the enhancement New feature or request label Apr 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request new feature
Projects
None yet
Development

No branches or pull requests

1 participant