Skip to content

Commit

Permalink
fix(ripple): don't hide directive host in high contrast (#12168)
Browse files Browse the repository at this point in the history
  • Loading branch information
devversion authored and josephperrott committed Jul 20, 2018
1 parent adda21f commit 944caf9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/lib/core/ripple/_ripple.scss
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,6 @@ $mat-ripple-color-opacity: 0.1;
// "relative" so that the ripple divs it creates inside itself are correctly positioned.
.mat-ripple {
overflow: hidden;

// In high contrast mode the ripple is opaque, causing it to obstruct the content.
@include cdk-high-contrast {
display: none;
}
}

.mat-ripple.mat-ripple-unbounded {
Expand All @@ -26,6 +21,11 @@ $mat-ripple-color-opacity: 0.1;

transition: opacity, transform 0ms cubic-bezier(0, 0, 0.2, 1);
transform: scale(0);

// In high contrast mode the ripple is opaque, causing it to obstruct the content.
@include cdk-high-contrast {
display: none;
}
}
}

Expand Down

0 comments on commit 944caf9

Please sign in to comment.