material icon indicating copy to clipboard operation
material copied to clipboard

card: overlap issues

Open smuellerus opened this issue 9 years ago • 1 comments

I've spent hours on this and have posted this issue on StackOverflow before, but with no success: http://stackoverflow.com/questions/41246596/angular-material-cards-with-flex-layout-overlap

Actual Behavior:

  • What is the issue? * When using several md-cards in a flex layout, the cards overlap, see the following screenshot:

image

CodePen (or steps to reproduce the issue): *

  • CodePen Demo which shows your issue: http://codepen.io/smuellerus/pen/oBYeyR
  • Details: Important: Note that everything looks good in the CodePen, but if you save the HTML to a file and open it in Chrome, the md-cards overlap - see the md-cards at the bottom.

Angular Versions: *

  • Angular Version: 1.5.9
  • Angular Material Version: 1.1.1

Additional Information:

  • Browser Type: * Chrome
  • Browser Version: * 55.0.2883.87
  • OS: * Ubuntu 16.04

smuellerus avatar Jan 17 '17 16:01 smuellerus

It looks like this was resolved by adding <!DOCTYPE html>.

Splaktar avatar Jun 06 '20 00:06 Splaktar