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
Grid-layout-center-last overwrites breakpoints #9137
Comments
Hmm... @brettsmason @andycochran @JeremyEnglert any of you have an idea what's going on here? |
@studiobovenkamer I'd like to look at this for you and get it sorted out. Could you perhaps explain what you wanted to happen on each break point and what actually is happening? Your HTML markup (or an idea of it) would be useful too. |
@studiobovenkamer Actually I've managed to recreate this, I needed 5 |
@brettsmason let me know is you need any additional info on this. I should have included the HTML. |
Can't you just use If I'm understanding the Hmm… |
As this is related to the old legacy float grid and is a bit of an edge case I'm going to go ahead and close this. |
How can we reproduce this bug?
What did you expect to happen?
That for medium breakpint an up the rules would not be overwritten by the less specific rule created in step 2.
What happened instead?
The @include grid-layout-center-last(2); that I've created (in step 2) for mobile/small overwrites the medium rule @include grid-layout-center-last(3);
Test case:
This doesn't work
But this works
The text was updated successfully, but these errors were encountered: