mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
Jeremy Elbourn
parent
bcf278179b
commit
677db8cfc1
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user