Update ProgressBar.vue

This commit is contained in:
GMrrc 2024-11-22 17:26:04 +01:00
parent 8a6e41dcd9
commit 72af269615

View File

@ -1,11 +1,7 @@
<template> <template>
<div class="flex items-center w-48 h-full"> <div class="flex items-center w-48 h-full">
<div class="relative w-full h-2 bg-gray-200/10 rounded-full overflow-hidden"> <div class="relative w-full h-2 bg-gray-200/10 rounded-full overflow-hidden">
<div <div :style="{ width: value + '%' }" class="h-full rounded-full" :class="color"></div>
:style="{ width: value + '%' }"
class="h-full rounded-full"
:class="color"
></div>
</div> </div>
</div> </div>
</template> </template>
@ -38,4 +34,3 @@
<style scoped> <style scoped>
/* Optionnel: Ajoutez un style personnalisé ici si nécessaire */ /* Optionnel: Ajoutez un style personnalisé ici si nécessaire */
</style> </style>