-
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
Podcast series image on cards #13072
base: main
Are you sure you want to change the base?
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. |
Size Change: +205 B (+0.02%) Total Size: 938 kB
ℹ️ View Unchanged
|
(imageType === 'picture' || | ||
imageType === 'video' || | ||
imageType === 'podcast') && |
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.
The conditional immediately before this seems to be applying exactly the same same styles just for slideshows so could be added to this?
imageType === 'slideshow' &&
isHorizontalOnDesktop &&
flexBasisStyles({
imageSize,
}),
}),
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.
Aside from the question about slideshow images (which was already there anyway), this looks good to me 👍
What does this change?
Renders the podcast series image when the media is type podcast if the series image is provided.
It also adds a wrapper around the image to fix the size of a podcast series image.
Why?
This is as per designs.
Screenshots