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

Fix/pr 593 mhatvan 394 setting offset breaks centered #594

Merged

Conversation

piotr-s-brainhub
Copy link
Contributor

@piotr-s-brainhub piotr-s-brainhub commented Jul 13, 2020

Deployed to https://beghp.github.io/gh-pages-rc-5
It fixes #394

- [x] an issue linked to the PR

mhatvan and others added 2 commits July 13, 2020 17:00
- use padding instead of margin for CarouselItem.js to avoid spacing issues with box sizing: border-box

Signed-off-by: mhatvan <markus_hatvan@aon.at>
@piotr-s-brainhub
Copy link
Contributor Author

It looks good:
Screenshot 2020-07-13 at 18 17 33

in contrary to the current behavior:
Screenshot 2020-07-13 at 18 17 52

@piotr-s-brainhub
Copy link
Contributor Author

I checked it doesn't break anything (desktop & mobile) and the example with offset and centered works correctly on mobile.

@piotr-s-brainhub piotr-s-brainhub merged commit d197dc1 into master Jul 14, 2020
@piotr-s-brainhub piotr-s-brainhub deleted the fix/pr-593-mhatvan-394-setting-offset-breaks-centered branch July 14, 2020 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Setting offset breaks 'centered'
2 participants