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

Add a hint for flexbox and autoheight compatability #294

Merged
merged 1 commit into from
Mar 13, 2022
Merged

Add a hint for flexbox and autoheight compatability #294

merged 1 commit into from
Mar 13, 2022

Conversation

JoshuaCrewe
Copy link

When following along with the Get Started guide, the example CSS doesn't
allow autoheight to work properly. The flex container will set all the
slides to be the same height making the autoheight script useless.
Adding some direction to the docs to amend the example CSS will help
avoid this issue.

I couldn't get gatsby to build the site so this PR is blind I am afraid. Seeing
as the suggestion is a minor one, I didn't foresee this being a major issue.
Feel free to insist, it will be a bit of a gap before I can update the PR in that case.

Feedback, criticism and amend requests welcome.

@JoshuaCrewe
Copy link
Author

Attempts to address #292

@davidjerleke
Copy link
Owner

davidjerleke commented Mar 11, 2022

@JoshuaCrewe thanks a bunch 👍🏻. I’ll change the setup so you only have to run yarn install and yarn start in the future, in order to start a local dev server with the documentation website. Right now you have to run yarn workspace embla-carousel-docs run start to get it going.

I’ll merge this soon. Again, thanks!

@JoshuaCrewe
Copy link
Author

So I don't use yarn any more. I did install it especially but when I did yarn install I got literally hundred of error messages. I have never come accross yarn workspace before. Will read up on that one.

When I have more time I am willing to give it more of a go!

@davidjerleke
Copy link
Owner

@JoshuaCrewe would you mind rebasing your changes on the master branch? I tried but it was rejected. I don’t think I have the permissions to do anything on your fork.

@JoshuaCrewe
Copy link
Author

Absolutely. It is Saturday today which means shabbat wins out. There will be a short delay until I am back at my computer (just FYI) 🙌

@davidjerleke
Copy link
Owner

@JoshuaCrewe haha no rush! Take your time. I’m just happy you want to contribute 👍🏻.

When following along with the Get Started guide, the example CSS doesn't
allow autoheight to work properly. The flex container will set all the
slides to be the same height making the autoheight script useless.
Adding some direction to the docs to amend the example CSS will help
avoid this issue.
@JoshuaCrewe
Copy link
Author

If I did it right, then the latest from your master has been rebased on this PR. Let me know if this is not what you were after!

@davidjerleke davidjerleke added the documentation Improvements or additions to documentation label Mar 13, 2022
@davidjerleke davidjerleke merged commit 2d5921a into davidjerleke:master Mar 13, 2022
@davidjerleke davidjerleke added the resolved This issue is resolved label Mar 13, 2022
davidjerleke pushed a commit that referenced this pull request Mar 13, 2022
@davidjerleke
Copy link
Owner

davidjerleke commented Mar 13, 2022

@JoshuaCrewe the rebase was successful. Welcome to the contributors club 🙂. Feel free to contribute again, it's very much appreciated. Thank you 🎉!

@JoshuaCrewe
Copy link
Author

🎉 🎉 🎉

For the record, you did 90% of the work. I am very happy to have pushed the 10% 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation resolved This issue is resolved
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants