diff --git a/projects/common/element-components/text.component.ts b/projects/common/element-components/text.component.ts index 0ac4eebc3edafe694e1c6235f1e93fb193057f5e..dae3d50fecd47d2cdc03f142eb5802ed606ea47c 100644 --- a/projects/common/element-components/text.component.ts +++ b/projects/common/element-components/text.component.ts @@ -6,8 +6,7 @@ import { ElementComponent } from '../element-component.directive'; @Component({ selector: 'app-text', template: ` - <div [style.width.%]="100" - [style.height.%]="100"> + <div> <div *ngIf="elementModel.highlightable"> <button mat-button [style.background-color]="'yellow'" (click)="highlightSelection('yellow')">Gelb</button>