-
Notifications
You must be signed in to change notification settings - Fork 136
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
Add equal height cards to wd_s #213
Comments
Use the HTML markup from http://refills.bourbon.io/ cards and HTML5 it! |
Branch: https://github.com/WebDevStudios/wd_s/tree/feature/cards-equal-height Created template tag (Co-created with Jo and Carrie.) Would be interested to hear any thoughts about naming, organization, etc. Heads up that this is using the template-tags file BEFORE the phpcs branch(es). Screenshot is when you use: |
One suggestion I have is changing the naming convention to "cards" since that is what this feature is: cards. So If I were to hop in to a project and hadn't known anything about this and needed to apply styling to the cards. When perusing the Sass folders for the appropriate partial, and saw Just a thought. |
Having worked a lot more with cards and all that jazz, I'd love to see this broken out a bit further so it's more extensible:
|
I'd love to see this as a PR to the WDS Components Library. Perhaps we could extend it to be a more general "cards" component with different layouts and styles? 😄 |
I think it's safe to say, this needs to be simplified. The initial goal was to have equal height card styles, be a "solved problem" out of the box. I recommend we just start by adding equal height sass. |
I'd personally prefer to see fewer things "baked-in" that need to be removed, and instead have these WordPress-ready styles available as drop-ins via the WDS Components Library. Near the end of a project, it's not always easy to remember, "did we actually use this?" making it increasingly difficult to remove unused code--I'd say adding code is easier than removing it. Just my 2 cents. 😄 |
I agree @carrieforde. As things are added to https://github.com/WebDevStudios/WDS-Components-Library they could be removed from wd_s. |
Funny how our projects ebb and flow...we haven't seen an equal height card, since this issue was opened. Everyone OK with just closing this? |
This is on every project. Let's just bake it in.
The text was updated successfully, but these errors were encountered: