material icon indicating copy to clipboard operation
material copied to clipboard

Images in md-card do not maintain aspect ratio

Open jjmschofield opened this issue 10 years ago • 1 comments

We are seeing in images in md-card directives do not maintain their aspect ratio, despite having width:100% and height:auto set.

Applying the overflow:hidden to the image clears the issue. Fix described by @guzza in https://github.com/angular/material/issues/1230

jjmschofield avatar Feb 04 '16 20:02 jjmschofield

Fixed with SHA df902381664bc568ad4011f1747ccc44a856995f

ThomasBurleson avatar Feb 04 '16 23:02 ThomasBurleson