-
Notifications
You must be signed in to change notification settings - Fork 30
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
Reinstate additional spacing for media cards #12675
Conversation
Hello 👋! When you're ready to run Chromatic, please apply the You will need to reapply the label each time you want to run Chromatic. |
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.
Good spot!
Size Change: +13 B (0%) Total Size: 921 kB ℹ️ View Unchanged
|
Seen on PROD (merged by @jamesmockett 15 minutes and 2 seconds ago) Please check your changes! |
What does this change?
Reinstates the 8px spacing applied to the top of the carousel between tablet and wide breakpoints added in #12576. This was lost when the carousel logic and styling was split out into a separate component.
Why?
The top edge of the carousel is currently flush with the bottom of the navigation buttons. This isn't immediately apparent when the carousel is static or the cards have a transparent background, but it becomes obvious when the carousel is in motion (as the images and buttons touch) or a card has a solid background colour such as a media card.
Screenshots