From 67574ce40d707ce30d2ec4cc19c29d4ab0e56486 Mon Sep 17 00:00:00 2001 From: Heinrich Marks <heinrich.marks@mni.thm.de> Date: Wed, 7 Mar 2018 11:44:46 +0100 Subject: [PATCH] Adjust text area --- src/app/app.component.html | 5 +++++ src/app/content-creation/content-creation.component.html | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/app/app.component.html b/src/app/app.component.html index 32ce08420..7ceb8764b 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -10,6 +10,11 @@ <div fxFlex class="app-component"> <router-outlet></router-outlet> </div> + + + <div fxLayout="row" fxLayoutAlign="start start" fxLayoutGap="20px"> + <app-content-creation></app-content-creation> +</div> </div> diff --git a/src/app/content-creation/content-creation.component.html b/src/app/content-creation/content-creation.component.html index f175cc6e3..021c00376 100644 --- a/src/app/content-creation/content-creation.component.html +++ b/src/app/content-creation/content-creation.component.html @@ -5,7 +5,8 @@ <p></p> <mat-form-field> - <textarea matInput placeholder="Text"></textarea> + <textarea matInput placeholder="Text" matTextareaAutosize matAutosizeMinRows="3" + matAutosizeMaxRows="8"></textarea> </mat-form-field> <p></p> -- GitLab