Todo adjustments

This commit is contained in:
Sercan Yemen 2017-11-13 11:04:57 +03:00
parent e8449e340d
commit a1bec98d44
2 changed files with 4 additions and 10 deletions

View File

@ -59,9 +59,6 @@
name="title" name="title"
formControlName="title" formControlName="title"
placeholder="Title" placeholder="Title"
matTextareaAutosize
matAutosizeMinRows="1"
matAutosizeMaxRows="2"
required> required>
</textarea> </textarea>
</mat-form-field> </mat-form-field>
@ -96,10 +93,7 @@
name="notes" name="notes"
formControlName="notes" formControlName="notes"
placeholder="Notes" placeholder="Notes"
maxlength="500" maxlength="500">
matTextareaAutosize
matAutosizeMinRows="1"
matAutosizeMaxRows="6">
</textarea> </textarea>
<mat-hint align="end">{{notes.value.length}} / 500</mat-hint> <mat-hint align="end">{{notes.value.length}} / 500</mat-hint>
</mat-form-field> </mat-form-field>

View File

@ -5,12 +5,11 @@
flex: 1 0 auto; flex: 1 0 auto;
flex-direction: column; flex-direction: column;
overflow-y: auto; overflow-y: auto;
padding: 24px;
.todo-header { .todo-header {
padding-bottom: 24px; padding: 24px;
margin-bottom: 8px;
border-bottom: 1px solid rgba(0, 0, 0, 0.12); border-bottom: 1px solid rgba(0, 0, 0, 0.12);
background: rgba(0, 0, 0, 0.06);
.actions { .actions {
min-width: 88px; min-width: 88px;
@ -19,6 +18,7 @@
} }
.todo-content { .todo-content {
padding: 24px;
.title { .title {
font-size: 17px; font-size: 17px;