|
12 | 12 | > |
13 | 13 | <UInput |
14 | 14 | v-model="state.name" |
15 | | - size="lg" |
| 15 | + size="xl" |
16 | 16 | class="w-full items-center justify-center" |
17 | 17 | /> |
18 | 18 | </UFormField> |
|
21 | 21 | <UTextarea |
22 | 22 | v-model="state.description" |
23 | 23 | :rows="4" |
24 | | - size="lg" |
| 24 | + size="xl" |
25 | 25 | class="w-full" |
26 | 26 | /> |
27 | 27 | </UFormField> |
|
32 | 32 | :items="availablePerformersItems" |
33 | 33 | :avatar="selectedPerformer?.avatar" |
34 | 34 | :placeholder="$t('common.select')" |
35 | | - size="lg" |
| 35 | + size="xl" |
36 | 36 | class="w-full" |
37 | 37 | /> |
38 | 38 | </UFormField> |
39 | 39 |
|
40 | | - <div class="grid grid-cols-1"> |
41 | | - <UPopover> |
42 | | - <UFormField :label="$t('common.date')" name="date"> |
43 | | - <UInput |
44 | | - :value="selectedDate ? df.format(selectedDate.toDate(getLocalTimeZone())) : ''" |
45 | | - placeholder="Выберите дату" |
46 | | - size="lg" |
47 | | - class="w-full items-center justify-center cursor-pointer" |
48 | | - :ui="{ trailing: 'pe-1.5' }" |
49 | | - > |
50 | | - <template v-if="selectedDate" #trailing> |
51 | | - <UButton |
52 | | - color="neutral" |
53 | | - variant="ghost" |
54 | | - size="md" |
55 | | - icon="i-lucide-x" |
56 | | - @click="selectedDate = undefined" |
57 | | - /> |
58 | | - </template> |
59 | | - </UInput> |
60 | | - </UFormField> |
61 | | - |
62 | | - <template #content> |
63 | | - <UCalendar v-model="selectedDate" class="p-2" /> |
64 | | - </template> |
65 | | - </UPopover> |
66 | | - </div> |
| 40 | + <UPopover> |
| 41 | + <UFormField :label="$t('common.date')" name="date"> |
| 42 | + <UInput |
| 43 | + :value="selectedDate ? df.format(selectedDate.toDate(getLocalTimeZone())) : ''" |
| 44 | + placeholder="Выберите дату" |
| 45 | + size="xl" |
| 46 | + class="w-full items-center justify-center cursor-pointer" |
| 47 | + :ui="{ trailing: 'pe-2' }" |
| 48 | + > |
| 49 | + <template v-if="selectedDate" #trailing> |
| 50 | + <UButton |
| 51 | + color="neutral" |
| 52 | + variant="ghost" |
| 53 | + size="md" |
| 54 | + icon="i-lucide-x" |
| 55 | + @click="selectedDate = undefined" |
| 56 | + /> |
| 57 | + </template> |
| 58 | + </UInput> |
| 59 | + </UFormField> |
| 60 | + |
| 61 | + <template #content> |
| 62 | + <UCalendar v-model="selectedDate" class="p-2" /> |
| 63 | + </template> |
| 64 | + </UPopover> |
67 | 65 |
|
68 | 66 | <UFormField label="В проекте" name="listId"> |
69 | 67 | <USelectMenu |
70 | 68 | v-model="selectedList" |
71 | 69 | :items="availableLists" |
72 | 70 | :placeholder="$t('common.select')" |
73 | | - size="lg" |
| 71 | + size="xl" |
74 | 72 | class="w-full" |
75 | 73 | /> |
76 | 74 | </UFormField> |
|
80 | 78 | type="submit" |
81 | 79 | variant="solid" |
82 | 80 | color="secondary" |
83 | | - size="lg" |
| 81 | + size="xl" |
84 | 82 | block |
85 | 83 | :label="$t('common.update')" |
86 | 84 | /> |
87 | 85 |
|
88 | 86 | <UButton |
89 | 87 | variant="soft" |
90 | 88 | color="error" |
91 | | - size="lg" |
| 89 | + size="xl" |
92 | 90 | icon="i-lucide-trash-2" |
93 | 91 | class="aspect-square justify-center" |
94 | 92 | @click="onDelete" |
|
0 commit comments