fix(radio): underlying label not expanding to width of radio button (#14895)

Fixes the `label` inside a `mat-radio-button` not expanding to the width of the radio button, reducing the clickable area.

Fixes #14894.
This commit is contained in:
Kristiyan Kostadinov
2019-02-22 16:04:55 +01:00
committed by Jeremy Elbourn
parent bcf278179b
commit 677db8cfc1
+3
View File
@@ -26,6 +26,9 @@ $mat-radio-ripple-radius: 20px;
align-items: center;
white-space: nowrap;
vertical-align: middle;
// Have the label span the rest of the radio button for maximum clickable area.
width: 100%;
}
// Container for radio circles and ripple.