My component looks like this:
<Card>
<CardMedia>
<img src="http://images.memes.com/character/meme/evil-toddler"/>
</CardMedia>
</Card>
I have noticed that the image uses almost 100% of the width of the page, which is undesirable in my situation.
What I would like to do is define the width of the image (or the Card
if possible) to depend on the DPI / resolution of the screen, using something like CSS's @media.
For example, if DPI > 720dp, the card should occupy the 60% of the screen, else 90%. Something like that.
I tried with a custom CSS but it doesn't work because the library uses inline CSS and it overwrites my attributes.