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

Change width to use flex on columns, bug! #49

Open
ainsleyclark opened this issue Jan 17, 2020 · 1 comment
Open

Change width to use flex on columns, bug! #49

ainsleyclark opened this issue Jan 17, 2020 · 1 comment

Comments

@ainsleyclark
Copy link
Owner

&-col {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
}
@ainsleyclark
Copy link
Owner Author

Fix in mixins:
@for $i from 1 through $grid-columns {
.col#{$modifier}-#{$i} {
flex: 0 0 (100 / ($grid-columns / $i)) * 1%;
}
}

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

No branches or pull requests

1 participant