mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(checkbox): underlying native checkbox being rendered when parent uses css column layout (#9258)
Fixes an issue where the hidden native checkbox inside the `mat-checkbox` gets rendered if one of the ancestors is using a CSS column layout. Fixes #9049.
This commit is contained in:
committed by
Jeremy Elbourn
parent
ec6678df21
commit
eac15120c6
@@ -8,6 +8,13 @@
|
||||
padding: 0;
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
|
||||
// Avoid browsers rendering the focus ring in some cases.
|
||||
outline: 0;
|
||||
|
||||
// Avoid some cases where the browser will still render the native controls (see #9049).
|
||||
-webkit-appearance: none;
|
||||
-moz-appearance: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user