[joy-ui][Card] Make orientation Responsive #40904
Labels
component: card
This is the name of the generic UI component, not the React module!
new feature
New feature or request
package: joy-ui
Specific to @mui/joy
waiting for 👍
Waiting for upvotes
Summary
I ended up in a situation where doing this:
would achieve result I want, that's about it.
Whilst writing this I thought that I would do it like I used to with
useMediaQuery
but turns out it's not in joy - #35037, so I guess I'll copy-paste content and display-hide/block it for now.update: tried to extract content into it's own
<MyCardContent/>
:and that kinda failed because
<Divider/>
stopped behaving because it's no longer a direct child of Card, I'm kind of at a loss what to do.Examples
No response
Motivation
No response
Search keywords: joy card orientation vertical horizontal responsive mobile desktop
The text was updated successfully, but these errors were encountered: