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

Check if the argument passed to flex() is a list and return the right value. Fixes #10. #11

Merged
merged 1 commit into from
Mar 14, 2014

Conversation

kpeatt
Copy link
Contributor

@kpeatt kpeatt commented Mar 14, 2014

This fixes #10.

mastastealth added a commit that referenced this pull request Mar 14, 2014
Check if the argument passed to flex() is a list and return the right value. Fixes #10.
@mastastealth mastastealth merged commit b0ceb37 into mastastealth:master Mar 14, 2014
jeffkamo added a commit to jeffkamo/sass-flex-mixin that referenced this pull request Mar 15, 2014
So the previous pull request mastastealth#11 was actually broken.

The output of `@mixin flex()` when given a list wasn't filling out all the properties correctly.

This PR should fix that, and ensure that all box-flex properties are filled out appropriately too!

Now both, for example, `@include flex(10, 5, 100px)` and `@include flex(10 5 100px)` work!
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.

@mixin flex() throws no errors when passed space seperated values
2 participants