Make account cards equal height with bottom-aligned actions
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
|
|
||||||
<v-row>
|
<v-row>
|
||||||
<v-col v-for="account in accountsStore.accounts" :key="account.id" cols="12" md="6" lg="4">
|
<v-col v-for="account in accountsStore.accounts" :key="account.id" cols="12" md="6" lg="4">
|
||||||
<v-card :to="`/accounts/${account.id}/transactions`" hover>
|
<v-card :to="`/accounts/${account.id}/transactions`" hover class="d-flex flex-column" height="100%">
|
||||||
<v-card-title>
|
<v-card-title>
|
||||||
<v-icon class="mr-2">{{ accountTypeIcon(account.type) }}</v-icon>
|
<v-icon class="mr-2">{{ accountTypeIcon(account.type) }}</v-icon>
|
||||||
{{ account.name }}
|
{{ account.name }}
|
||||||
@@ -24,6 +24,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<div v-if="account.interestRate" class="text-caption">APR: {{ account.interestRate }}%</div>
|
<div v-if="account.interestRate" class="text-caption">APR: {{ account.interestRate }}%</div>
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
|
<v-spacer />
|
||||||
<v-card-actions>
|
<v-card-actions>
|
||||||
<v-btn size="small" variant="text" @click.prevent="editAccount(account)">Edit</v-btn>
|
<v-btn size="small" variant="text" @click.prevent="editAccount(account)">Edit</v-btn>
|
||||||
<v-btn v-if="account.hasLoanDetail" size="small" variant="text" color="info" :to="`/loans/${account.id}`" @click.stop>Loan Details</v-btn>
|
<v-btn v-if="account.hasLoanDetail" size="small" variant="text" color="info" :to="`/loans/${account.id}`" @click.stop>Loan Details</v-btn>
|
||||||
|
|||||||
Reference in New Issue
Block a user