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 the centering positin of the following case to be consistent with the original CSS spec. #142

Merged
merged 1 commit into from
Nov 21, 2016

Conversation

thagikura
Copy link
Contributor

@thagikura thagikura commented Nov 16, 2016

  • AlignItems (or AlignSelf) is set to center
  • Margin is set to only one side for a flex item. E.g. Margin is only put only right when flexDirection is column

Fixes #138

@thagikura
Copy link
Contributor Author

@yaraki can you please have a look when you have a chance?

… the

original CSS spec.

- AlignItems (or AlignSelf) is set to center
- Margin is set to only one side. E.g. Only right when flexDirection is column
@thagikura thagikura force-pushed the fix_invalid_center_with_margin branch from e7b3bab to ff96128 Compare November 17, 2016 00:27
@thagikura
Copy link
Contributor Author

@yaraki friendly ping

Copy link
Collaborator

@yaraki yaraki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+2

@thagikura thagikura merged commit cbb55ca into master Nov 21, 2016
@thagikura thagikura deleted the fix_invalid_center_with_margin branch November 21, 2016 14:28
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.

None yet

2 participants