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

Eliminate Col's reverse property #98

Merged
merged 1 commit into from
Mar 15, 2017
Merged

Eliminate Col's reverse property #98

merged 1 commit into from
Mar 15, 2017

Conversation

kgregory
Copy link
Contributor

Col's reverse property was a boolean that would apply the 'reverse' class if true. However, there is no support for reverse for columns in flexboxgrid. There is a .col.reverse class defined, but it sets the flex-direction to column-reverse, which has no effect on an element that is not displayed as flex. Furthermore, columns are not given the .col class in the way that rows are given the .row class, so the designation of .reverse on a Col would not even cause these rules to be applied.

The .col.reverse class appears to be lint, left over from an abandoned attempt to support columnar flexboxes in the flexboxgrid package. See: kristoferjoseph/flexboxgrid#173

- Col's reverse property was a boolean that would apply the 'reverse' class if true.  However, there is no support for reverse for columns in flexboxgrid.

There is a .col.reverse class defined, but it sets the flex-direction to column-reverse, which has no effect on an element that is not displayed as flex.

Also, columns are not given the .col class in the way that rows are given the .row class, so the designation of .reverse on a Col would not even cause these rules to be applied.

The .col.reverse class appears to be lint, left over from an abandoned attempt to support columnar flexboxes in the flexboxgrid package.  See:  kristoferjoseph/flexboxgrid#173
@silvenon
Copy link
Collaborator

Good catch, thanks! 👍

@silvenon silvenon merged commit 491d276 into roylee0704:master Mar 15, 2017
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.

2 participants