diff --git a/src/components/svg-keyboard-key.component.ts b/src/components/svg-keyboard-key.component.ts index 7856b5a7..ee8d4577 100644 --- a/src/components/svg-keyboard-key.component.ts +++ b/src/components/svg-keyboard-key.component.ts @@ -26,7 +26,7 @@ enum LabelTypes { [attr.font-size]="19" [attr.font-family]="'Helvetica'" [attr.fill]="'#ffffff'" - [attr.style]="'dominant-baseline: central'" + style="dominant-baseline: central" *ngIf="(labelType === enumLabelTypes.Text) && labelSource && labelSource.length > 0">