[enhancement] : md-card with flex-direction = row
Hi,
it would be great if we had a md-card with flex-direction = row responsive (flex-direction = column for small screen) and a parameter x for the width of the image (where x can vary from 0 to 100 % of the initial width of the image. Not sure that 0 is a good idea :) ). The height could adjust automatically to keep the initial ratio.
you make a great job, keep going...
Thks
Couldn't you simply use this as shown in the documentation?
<md-card layout="column" layout-sm="row"></md-card>
I already use it and it works good. But sometimes I need a card with image on the left and the text near it (right side). Actually I have to specify some css for the image because in a flex direction = row, the md-card-image class doesn't work properly, the resize is uggly. I will try something tonight (GMT) . Perhaps I missed something.
How about something like this? The image gets streched a bit before shifting, but I guess this too can be fixed with some css.
http://codepen.io/anon/pen/aOGYjG
Indeed I missed some flex o_O... Your Codepen seems perfect for my need
Closing issue
Thks