Skip to content
Snippets Groups Projects
Commit 79f399c8 authored by jojohoch's avatar jojohoch
Browse files

[player] Fix problem with unnecessary scrollbars for radio button group

parent 5df225e1
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,9 @@ import { FormElementComponent } from '../form-element-component.directive';
[style.font-style]="elementModel.italic ? 'italic' : ''"
[style.text-decoration]="elementModel.underline ? 'underline' : ''">
<label [innerHTML]="elementModel.label" id="radio-group-label"></label>
<mat-radio-group aria-labelledby="radio-group-label" fxLayout="{{elementModel.alignment}}"
<mat-radio-group aria-labelledby="radio-group-label"
[style.margin-bottom.px]="10"
fxLayout="{{elementModel.alignment}}"
[formControl]="elementFormControl">
<mat-radio-button *ngFor="let option of elementModel.options" [value]="option">
{{option}}
......
......@@ -30,7 +30,7 @@
[style.grid-column-end]="element.gridColumnEnd"
[style.grid-row-start]="element.gridRowStart"
[style.grid-row-end]="element.gridRowEnd"
[style.display]="'block'"
[style.display]="'inherit'"
[style.height.%]="100"
[elementModel]="element"
[parentForm]="sectionForm"
......
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