Skip to content

Commit faba4dc

Browse files
refactor(multi): refactored avatars and dashboard alignment.
1 parent 5a20bf1 commit faba4dc

21 files changed

+20
-26
lines changed

typescript-version/src/@core/components/cards/CardStatisticsVertical.vue

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ interface Props {
33
title: string
44
image: string
55
stats: string
6-
color: string
76
change: number
87
}
98
@@ -15,18 +14,11 @@ const isPositive = controlledComputed(() => props.change, () => Math.sign(props.
1514
<template>
1615
<VCard>
1716
<VCardText class="d-flex align-center pb-4">
18-
<VAvatar
19-
v-if="props.image"
20-
size="38"
21-
:color="props.color"
22-
variant="tonal"
23-
rounded
17+
<img
18+
width="42"
19+
:src="props.image"
20+
alt="image"
2421
>
25-
<VIcon
26-
:icon="props.image"
27-
size="24"
28-
/>
29-
</VAvatar>
3022

3123
<VSpacer />
3224

-2.27 KB
Loading
-5.64 KB
Loading
5.07 KB
Loading
-2.4 KB
Loading
-4.33 KB
Loading
-2.23 KB
Loading
-729 Bytes
Loading
-4.93 KB
Loading
1.23 KB
Loading

0 commit comments

Comments
 (0)