-
Notifications
You must be signed in to change notification settings - Fork 57
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
Centering seems to have failed in the online demo #18
Comments
Thanks @lunakid! You are right. To align item in the same direction as the main axis, margin hack is incorporated - flexbox provides a way to individually align item only on cross axis. In the above case, when setting the item align to left, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I was just playing around in the nice, and slightly addictive demo, until this state, where item 2, which claims to be centered, isn't. (I thought it may be vertical centering only, but item 1 has its horizontal position similarly displayed, and the parameter list also says "center" for the horizontal position.)
If it's indeed a problem, I think it happened right after setting "left" to item 1.
Anyway, HTH. Very nice work, nonetheless!
The text was updated successfully, but these errors were encountered: