-
Notifications
You must be signed in to change notification settings - Fork 11
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
Flex size support #15
Conversation
Thank you (again) for this PR!
I think this is correct and would work according to the defaults of fxFlex in Flex Layout (checking here https://github.com/angular/flex-layout/wiki/fxFlex-API and here https://github.com/angular/flex-layout/blob/master/projects/libs/flex-layout/flex/flex/flex.ts). So I think this implementation should be fine. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have one suggestion (twice). Could you check that? Otherwise this looks good to me.
And before I can merge it, you'd need to kindly resolve the conflicts that happend due to the other already merged PRs 🙂
Fixed. This is ready to be merged I think. |
Thanks! Looks good to me. I'll try to document and release everything in the next days. Is that okay with you, or do you need it asap? |
I suggest to still do the increment change for gap selectors before we do a major version release. I would want to use it asap but I can temporarily work around that. |
Currently I generate
flex: 1 1 $value;
where$value
is the flex size. I was wondering if this is the correct approach or if I should just set the flex-basis like thisflex-basis: $value;
. What do you think?