Open rb-mwindh opened 2 years ago
@crisbeto Can i take up this issue ???
This feature request is now candidate for our backlog! In the next phase, the community has 60 days to upvote. If the request receives more than 20 upvotes, we'll move it to our consideration list.
You can find more details about the feature request process in our documentation.
Just a heads up that we kicked off a community voting process for your feature request. There are 20 days until the voting process ends.
Find more details about Angular's feature request process in our documentation.
Feature Description
When setting up radio buttons without label, the label container still adds a padding, making the radio-button wider than neccessary.
A css class
mat-radio-container-no-side-margin
could easily be added in the same way as done format-checkbox
, allowing use to get rid of the padding when there is no label.Use Case
I'm implementing a SCSS theming framework for corporate design rules for Angular Material components. Thus I need to provide styles for both cases, radiobutton with and without labels.
One of the use cases of radiobuttons without labels is having them in table cells. They would be "labelled" by the column header.
Reproduction: https://stackblitz.com/edit/angular-ivy-erstgu?file=src/app/app.component.css