Skip to content

Commit dd83245

Browse files
fix(tasks): harmonize empty state card with /task layout
Drop `align="start" justify="center"` on the v-row and align card padding (pa-8 → pa-6) so the empty-state card sits at the exact same top/left as the form card on /task. Keeps `text-center` for icon + label centering inside the card.
1 parent 12ba82c commit dd83245

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/modules/tasks/views/tasks.view.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@
1818
<v-row class="pa-2 mt-0">
1919
<taskComponent v-for="(item, index) in tasks" :key="item.id" :item="item" :index="index"></taskComponent>
2020
</v-row>
21-
<v-row v-if="!tasks || !tasks.length" class="pa-2 mt-0" align="start" justify="center">
21+
<v-row v-if="!tasks || !tasks.length" class="pa-2 mt-0">
2222
<v-col cols="12">
23-
<v-card class="pa-8 text-center" color="surface" :flat="config.vuetify.theme.flat" :class="config.vuetify.theme.rounded">
23+
<v-card class="pa-6 text-center" color="surface" :flat="config.vuetify.theme.flat" :class="config.vuetify.theme.rounded">
2424
<v-icon icon="fa-solid fa-list-check" size="x-large" color="primary" class="mb-4 text-medium-emphasis"></v-icon>
2525
<h2 class="text-title-large font-weight-medium mb-2">No tasks yet</h2>
2626
<p class="text-body-medium text-medium-emphasis mb-4">Create your first task to get started.</p>

0 commit comments

Comments
 (0)