From a1bec98d44a55c2d098acc11973ae15b01733bf0 Mon Sep 17 00:00:00 2001 From: Sercan Yemen Date: Mon, 13 Nov 2017 11:04:57 +0300 Subject: [PATCH] Todo adjustments --- .../apps/todo/todo-details/todo-details.component.html | 8 +------- .../apps/todo/todo-details/todo-details.component.scss | 6 +++--- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/src/app/main/content/apps/todo/todo-details/todo-details.component.html b/src/app/main/content/apps/todo/todo-details/todo-details.component.html index 964f347c..9c30f633 100644 --- a/src/app/main/content/apps/todo/todo-details/todo-details.component.html +++ b/src/app/main/content/apps/todo/todo-details/todo-details.component.html @@ -59,9 +59,6 @@ name="title" formControlName="title" placeholder="Title" - matTextareaAutosize - matAutosizeMinRows="1" - matAutosizeMaxRows="2" required> @@ -96,10 +93,7 @@ name="notes" formControlName="notes" placeholder="Notes" - maxlength="500" - matTextareaAutosize - matAutosizeMinRows="1" - matAutosizeMaxRows="6"> + maxlength="500"> {{notes.value.length}} / 500 diff --git a/src/app/main/content/apps/todo/todo-details/todo-details.component.scss b/src/app/main/content/apps/todo/todo-details/todo-details.component.scss index d0162789..3e4d1001 100644 --- a/src/app/main/content/apps/todo/todo-details/todo-details.component.scss +++ b/src/app/main/content/apps/todo/todo-details/todo-details.component.scss @@ -5,12 +5,11 @@ flex: 1 0 auto; flex-direction: column; overflow-y: auto; - padding: 24px; .todo-header { - padding-bottom: 24px; - margin-bottom: 8px; + padding: 24px; border-bottom: 1px solid rgba(0, 0, 0, 0.12); + background: rgba(0, 0, 0, 0.06); .actions { min-width: 88px; @@ -19,6 +18,7 @@ } .todo-content { + padding: 24px; .title { font-size: 17px;