-
Notifications
You must be signed in to change notification settings - Fork 32
updated card slot from image
to media
#975
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
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
display: flex; | ||
|
||
&::slotted(img) { | ||
&::slotted(*) { |
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.
I worry if using the wildcard here is too generic and needs to be more specific
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.
oh weird this came in right as I posted this! haha #975 (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.
That said, if you think it's too generic, I'm fine with limiting it to certain elements!
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.
Nice work. Looks great
display: flex; | ||
|
||
&::slotted(img) { | ||
&::slotted(*) { |
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.
At first, I wasn't sure if this was too eager and should be scoped down to img
, video
, and iframe
but it is called the "media" slot, so I actually think it's fine as-is.
image
to media
@kelseythejackson oh this one thing this needs a line in the changelog :) |
This is related to #535.
It changes the
image
slot in the card component tomedia
. It's broader and more appropriate.