-
Notifications
You must be signed in to change notification settings - Fork 30
More Galleries: fixed card sizes #14981
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
Conversation
ff73f86 to
55ad5e1
Compare
21ab3d9 to
4b9c1aa
Compare
ioannakok
left a comment
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.
Thanks for the video explainer Dom! Super neat work!
marjisound
left a comment
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.
Great improvement, thanks for doing it 🥳
|
Seen on PROD (merged by @domlander 8 minutes and 4 seconds ago) Please check your changes! |
| parameters: { | ||
| chromatic: { | ||
| viewports: [breakpoints.mobile, breakpoints.desktop], | ||
| }, | ||
| }, |
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.
Just a heads up, the viewports parameter is deprecated1 in favour of the modes API. Here are some docs on our use of modes in DCAR.
Footnotes
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.
Thanks for the heads up! I'll make sure to use modes in the future.
What does this change?
When there are fewer than 5 onwards content cards, don't allow the cards in the list to expand to fill the space on desktop. No change on mobile.
Why?
Design request.
Reviewer
Please review this commit-by-commit, as I've moved some components/styles around.
Video explainer here: https://drive.google.com/file/d/14HqzDSVaOBu877z59URGcKZFBObMFY65/view
Screenshots