-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
auto and shrink cells are broken #10891
Comments
Workaround:I've added to the file _classes.scss in line 86 "xy-cell-base();" and now it works fine :-)
|
Second workaround:Because the first one increased app.css size by 5-8kb, I've added another mixin instead:
It creates additional classes for each breakpoint e.g. medium-width-reset, large-width-reset etc. Put it together with another "static-sized" cell class, e.g. "large-12 large-width-reset" or "medium-3 medium-width-reset" examples: |
Hi @skotlinski1. I finally had enough time to investigate your issue. At first, thank you for the CodePen you provided. It help us a lot to test everything and understand what's wrong. 👍 All the bugs you found comes from two little mistakes: we forgot to reset I'll open a PR. Thanks again for the ✨ quality ✨ of this issue ;) |
@skotlinski1 See #10927. Does it solves your issue ? |
@skotlinski1 This seems to be the fix. How did it work for you? Just trying to make sure we can merge this in. |
Yes, thank you, now everything works great :-) |
…s-reset-10891 fix: fix XY Grid responsive widths with shrink/auto #10891
…modifiers-reset-10891 for v6.5.0 8347330 fix: add missing flex reset in XY Grid responsive cell widths foundation#10891 16e18da tests: add visual test for XY Grid reponsive widths foundation#10891 Signed-off-by: Nicolas Coden <nicolas@ncoden.fr>
Apply foundation#10891 with optimizations introduced by 7e34dc3 to vertical cells. See foundation#10891
How to reproduce this bug:
Here is a link:
https://codepen.io/skotlinski1/pen/LQYOpN
What should happen:
On large every cells should be 100% width (large-12) except 4th scenario where second cell on medium should be '3 units' long
What happened instead:
Big mess instead, click on the link and see :-)
Browser(s) and Device(s) tested on:
Safari 11.01, Chrome 63, Firefox 57, Opera 50
Foundation Version(s) you are using:
6.4.3 and 6.4.4-rc1
Test case link:
https://codepen.io/skotlinski1/pen/LQYOpN
The text was updated successfully, but these errors were encountered: