This commit is contained in:
Denzel committed 2025-01-22 11:45:16 +03:00
1 parent b1b50a19b9
commit 08fc5fdf4e
1 file changed
+7 -2
+7 -2
View File
@@ -67,10 +67,15 @@
<v-progress-linear <v-progress-linear
:model-value="getPercentage(answer.count, question)" :model-value="getPercentage(answer.count, question)"
color="teal-darken-4" color="teal-darken-4"
height="10" height="13"
rounded rounded
striped striped
/> >
<template v-slot:default="{ value }">
<strong v-if="value < 40" class="text-grey-darken-3">{{ Math.ceil(value) }}%</strong>
<strong v-else class="text-grey-lighten-5">{{ Math.ceil(value) }}%</strong>
</template>
</v-progress-linear>
</v-list-item> </v-list-item>
</v-list> </v-list>
</v-card-text> </v-card-text>