J'ai un mat-button-toggle et je veux changer l'élément border-radius
a 20px
mais c'est quand même 4px
.
Qu'est-ce que je fais de mal ?
<mat-button-toggle-group class="ruleActionOnOffButton" name="fontStyle" aria-label="Font Style" *ngIf="modules.type === action.type && modules.id === action.id" value="{{action.action}}">
<mat-button-toggle value="1" (change)="selectionChanged($event,i)">An</mat-button-toggle>
<mat-button-toggle value="2" (change)="selectionChanged($event,i)">Aus</mat-button-toggle>
<mat-button-toggle value="3" (change)="selectionChanged($event,i)">Toggle</mat-button-toggle>
</mat-button-toggle-group>
Css
/deep/ .mat-button-toggle-group-appearance-standard, .mat-button-toggle-standalone.mat-button-toggle-appearance-standard{
border-radius: 20px !important;
}
.ruleActionOnOffButton .mat-button-toggle-appearance-standard .mat-button-toggle-label-content{
border-radius: 20px !important;
}