Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

mdCard: img selector should be more specific to avoid breaking custom layouts #8785

@epelc

Description

@epelc

Actual behavior:

  • What is the issue? * df902381 seriously breaks any custom layouts using cards and images. The selector should be changed and possibly remove !important but more so the selector changed.
  • What is the expected behavior? The selector should target md-card-header img or add a class(maybe .md-img to allow for custom layouts. ping @ThomasBurleson

CodePen or Steps to reproduce the issue: *

  • CodePen Demo which shows your issue :
  • Details:

Angular Versions: *

  • Angular Version: 1.5.6
  • Angular Material Version: 1.1.0-rc.5

Additional Information:

  • Browser Type: * chrome
  • Browser Version: *51.0.2704.84 (64-bit)
  • OS: * os x 10.11.5
  • Stack Traces:

Shortcut to create a new CodePen Demo.
Note: * indicates required information. Without this information, your issue may be auto-closed.

Do not modify the titles or questions. Simply add your responses to the ends of the questions.
Add more lines if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    has: Pull RequestA PR has been created to address this issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions