|
3 | 3 | (ngSubmit)="update()" |
4 | 4 | class="flex flex-col items-center p-4 md:p-8 w-full" |
5 | 5 | > |
6 | | - <p-card header="Dados pessoais" class="w-full max-w-xl"> |
| 6 | + <p-card header="Dados pessoais" class="w-full max-w-xl mx-auto"> |
7 | 7 | <div class="flex flex-col gap-4"> |
8 | | - <div class="flex flex-col md:flex-row gap-4"> |
9 | | - <div class="flex flex-col w-full"> |
| 8 | + <div class="grid grid-cols-1 md:grid-cols-2 gap-4"> |
| 9 | + <div class="flex flex-col"> |
10 | 10 | <label for="firstName">First name</label> |
11 | 11 | <input |
12 | 12 | pInputText |
|
17 | 17 | /> |
18 | 18 | </div> |
19 | 19 |
|
20 | | - <div class="flex flex-col w-full"> |
| 20 | + <div class="flex flex-col"> |
21 | 21 | <label for="lastName">Last name</label> |
22 | 22 | <input |
23 | 23 | pInputText |
|
28 | 28 | class="w-full" |
29 | 29 | /> |
30 | 30 | </div> |
31 | | - </div> |
32 | 31 |
|
33 | | - <div class="flex flex-col"> |
34 | | - <label for="email">Email</label> |
35 | | - <input |
36 | | - pInputText |
37 | | - pSize="small" |
38 | | - [disabled]="true" |
39 | | - id="email" |
40 | | - formControlName="email" |
41 | | - class="w-full" |
42 | | - /> |
43 | | - </div> |
| 32 | + <div class="flex flex-col md:col-span-2"> |
| 33 | + <label for="email">Email</label> |
| 34 | + <input |
| 35 | + pInputText |
| 36 | + pSize="small" |
| 37 | + [disabled]="true" |
| 38 | + id="email" |
| 39 | + formControlName="email" |
| 40 | + class="w-full" |
| 41 | + /> |
| 42 | + </div> |
44 | 43 |
|
45 | | - <div class="flex flex-col md:flex-row gap-4"> |
46 | | - <div class="flex flex-col w-full"> |
| 44 | + <div class="flex flex-col"> |
47 | 45 | <label for="password">Password</label> |
48 | 46 | <input |
49 | 47 | pInputText |
|
56 | 54 | /> |
57 | 55 | </div> |
58 | 56 |
|
59 | | - <div class="flex flex-col w-full"> |
| 57 | + <div class="flex flex-col"> |
60 | 58 | <label for="phoneNumber">Phone number</label> |
61 | 59 | <p-inputmask |
62 | 60 | mask="+55 (99) 99999-9999" |
63 | 61 | size="small" |
64 | 62 | placeholder="+55 (99) 99999-9999" |
65 | 63 | formControlName="phoneNumber" |
66 | | - class="w-full" |
67 | | - /> |
| 64 | + styleClass="w-full" |
| 65 | + inputStyleClass="w-full" |
| 66 | + ></p-inputmask> |
68 | 67 | </div> |
69 | 68 | </div> |
70 | 69 | </div> |
|
0 commit comments