mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(datepicker): showing dot in high contrast mode after popup has closed (#12099)
Fixes the datepicker's popup showing a 1x1 pixel dot in high contrast mode, after the calendar has been closed. The dot comes from the outline that we add to the popup which collapses after we detach the overlay.
This commit is contained in:
committed by
Jeremy Elbourn
parent
a1aa9e7eb8
commit
6a472eb6a7
@@ -68,7 +68,7 @@ $mat-calendar-body-cell-content-size: 100% - $mat-calendar-body-cell-content-mar
|
||||
|
||||
|
||||
@include cdk-high-contrast {
|
||||
.mat-datepicker-popup,
|
||||
.mat-datepicker-popup:not(:empty),
|
||||
.mat-calendar-body-selected {
|
||||
outline: solid 1px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user