Skip to content

Commit af821fb

Browse files
committed
Spacing changes and text area for body field
1 parent ef8a572 commit af821fb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/app/component/create/create.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<h2 mat-dialog-title>Create Post</h2>
2-
<mat-dialog-content class="flex flex-col">
2+
<mat-dialog-content class="flex flex-col space-y-5 !pt-2">
33
<mat-form-field class="w-full">
44
<mat-label>User Id</mat-label>
55
<input
@@ -15,7 +15,7 @@ <h2 mat-dialog-title>Create Post</h2>
1515
</mat-form-field>
1616
<mat-form-field class="w-full">
1717
<mat-label>Body</mat-label>
18-
<input id="create-body" matInput [(ngModel)]="body" />
18+
<textarea id="create-body" matInput rows="4" [(ngModel)]="body"></textarea>
1919
</mat-form-field>
2020
</mat-dialog-content>
2121
<mat-dialog-actions class="gap-5">

0 commit comments

Comments
 (0)