diff --git a/projects/editor/src/app/unit-view/page-view/properties-panel/element-style-properties.component.ts b/projects/editor/src/app/unit-view/page-view/properties-panel/element-style-properties.component.ts index 4830a22add3327d0db2c93d0e4bb608289868e95..252a7cfe36c8abf3a6fdc80ce1c17c806f3cb191 100644 --- a/projects/editor/src/app/unit-view/page-view/properties-panel/element-style-properties.component.ts +++ b/projects/editor/src/app/unit-view/page-view/properties-panel/element-style-properties.component.ts @@ -28,7 +28,7 @@ import { UIElement } from '../../../../../../common/models/uI-element'; <mat-form-field *ngIf="combinedProperties.fontSize != null" appearance="fill" class="mdInput textsingleline"> <mat-label>Schriftgröße</mat-label> - <input matInput type="text" [value]="combinedProperties.fontSize" + <input matInput type="number" [value]="combinedProperties.fontSize" (input)="updateModel.emit({ property: 'fontSize', value: $any($event.target).value })"> </mat-form-field> <mat-form-field *ngIf="combinedProperties.lineHeight != null"