-
Notifications
You must be signed in to change notification settings - Fork 6.8k
Description
Bug, feature request, or proposal:
Bug: Unable to remove box shadow with the addition of a class
What is the expected behavior?
Adding class "noshadow" to md-card with box-shadow: none should remove the box-shadow
What is the current behavior?
Class .noshadow is overriden by fix introduced in beta.3 4ee16a9#diff-9389c93dca7121685381d0e9e8e96ff3 by @crisbeto @andrewseguin - do either of you have a simple suggestion to keep the elevation fix while preventing the override to the standard md-card? Not sure what the issue was from before and if there's a way to fix this without breaking your use case.
What are the steps to reproduce?
Providing a Plunker (or similar) is the best way to get the team to see your issue.
http://plnkr.co/edit/dIBG9U58CqTrRSoxgq0g?p=preview
What is the use-case or motivation for changing an existing behavior?
Attempting to change back the ability to use a css class to adjust the box shadow (which existed prior to this breaking with a change introduced)
Which versions of Angular, Material, OS, browsers are affected?
Material beta.3
Chrome 57.0
Is there anything else we should know?
Currently able to override with !important, but that doesn't seem to be the best solution.