From f178fc9730afb9a71fd517bd9966e4bef1a526ac Mon Sep 17 00:00:00 2001 From: jojohoch <joachim.hoch@iqb.hu-berlin.de> Date: Thu, 23 Sep 2021 12:10:28 +0200 Subject: [PATCH] [player] Remove height and width styles fom text element to prevent unnecessary scroll bars from appearing --- projects/common/element-components/text.component.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/projects/common/element-components/text.component.ts b/projects/common/element-components/text.component.ts index 0ac4eebc3..dae3d50fe 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> -- GitLab