Skip to content
Snippets Groups Projects
Commit 488cfb47 authored by rhenck's avatar rhenck
Browse files

Fix radio button without label

Options still had a margin-top, which is wrong when there is no label 
above.
parent 613fc0e5
No related branches found
No related tags found
No related merge requests found
......@@ -22,7 +22,7 @@ import { RadioButtonGroupElement } from './radio-button-group-element';
[fxLayout]="elementModel.alignment"
[formControl]="elementFormControl"
[value]="elementModel.value"
[style.margin-top.px]="10">
[style.margin-top.px]="elementModel.label !== '' ? 10 : 0">
<mat-radio-button *ngFor="let option of elementModel.options; let i = index"
[ngClass]="{ 'strike' : elementModel.strikeOtherOptions &&
elementFormControl.value !== null &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment