Skip to content

mat-card elevation can no longer change with mat-elevation-z* classes #3123

Closed
@functionportal

Description

@functionportal

Bug, feature request, or proposal:

I used to be possible to change the mat-card elevation using mat-elevation-z* classes, but now mat-card default elevation dominates any mat-elevation-z* classes

What is the expected behavior?

mat-elevation-z* classes should modify mat-card elevation

What is the current behavior?

mat-card elevation cannot be overridden by applying mat-elevation-z* classes

What are the steps to reproduce?

Apply mat-elevation-z6 class to mat-card. mat-card elevation is unchanged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions