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:
Kristiyan Kostadinov
2018-01-23 17:03:20 +01:00
committed by Jeremy Elbourn
parent ec6678df21
commit eac15120c6
+7
View File
@@ -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;
}
}