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: Setting offset breaks "centered" #593

Merged
merged 1 commit into from
Jul 13, 2020
Merged

fix: Setting offset breaks "centered" #593

merged 1 commit into from
Jul 13, 2020

Conversation

mcmxcdev
Copy link
Contributor

@mcmxcdev mcmxcdev commented Jul 13, 2020

Closes #394.

After a long discussion in the issue, we decided to change from usage of padding to margin to work around spacing issues with box-sizing: border-box, which could be set by css resets or css frameworks by default.


IssueHunt Summary

Referenced issues

This pull request has been submitted to:


- 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 piotr-s-brainhub changed the base branch from master to fix/pr-593-mhatvan-394-setting-offset-breaks-centered July 13, 2020 15:11
@mcmxcdev
Copy link
Contributor Author

Unfortunately I didn't know about the branch naming conventions.
Should I do the PR again from a correct branch name or can this be ignored?

@piotr-s-brainhub piotr-s-brainhub merged commit 009989d into brainhubeu:fix/pr-593-mhatvan-394-setting-offset-breaks-centered Jul 13, 2020
@piotr-s-brainhub
Copy link
Contributor

@mhatvan

I opened #594 instead because only for the main repo, it's possible to build a testing environment. It's according to the workflow.

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.

Setting offset breaks 'centered'
2 participants