-
Notifications
You must be signed in to change notification settings - Fork 5.5k
fix: fix XY Grid responsive widths with shrink/auto #10891 #10927
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
fix: fix XY Grid responsive widths with shrink/auto #10891 #10927
Conversation
@DanielRuf @JeremyEnglert @brettsmason Could one of you review this ? |
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.
LGTM, fixes the codepen examples.
Thanks @DanielRuf. With changes like that (adding a mixin somewhere), you can also check the diff in the generated CSS, to ensure that:
|
But still wondering why |
See: scss/xy-grid/_cell.scss:58 This is the flex behavior we expect to get static width: do not grow, do not shrink, simply takes the width applied to it. Like at scss/xy-grid/_cell.scss:51 |
A bit confusing at first with the |
…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 <[email protected]>
Changes:
Closes #10891