File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 3
3
<span class =" absolute -top-6 left-0 text-sm text-gray-500" >{{ leftLabel }}</span >
4
4
<span class =" absolute -top-6 right-0 text-sm text-gray-500" >{{ rightLabel }}</span >
5
5
<div
6
- class =" bg-lightPrimary dark:bg-darkPrimary h-2.5 rounded-full"
6
+ class =" bg-lightPrimary dark:bg-darkPrimary h-2.5 rounded-full transition-all duration-300 ease-in-out "
7
7
:style =" { width: `${percentage}%` }"
8
8
></div >
9
- <template v-if =" showValues " >
10
- <span class =" absolute top-4 left-0 text-sm text-gray-500" >{{ formatValue(minValue) }}</span >
11
- <span v-if =" showProgress" class =" absolute top-4 right-1/2 translate-x-1/2 text-sm text-gray-500" >{{ progressText }}</span >
12
- <span class =" absolute top-4 right-0 text-sm text-gray-500" >{{ formatValue(maxValue) }}</span >
13
- </template >
9
+ <span v-if =" showValues" class =" absolute top-4 left-0 text-sm text-gray-500" >{{ formatValue(minValue) }}</span >
10
+ <span v-if =" showProgress" class =" absolute top-4 right-1/2 translate-x-1/2 text-sm text-gray-500" >{{ progressText }}</span >
11
+ <span v-if =" showValues" class =" absolute top-4 right-0 text-sm text-gray-500" >{{ formatValue(maxValue) }}</span >
14
12
</div >
15
13
</template >
16
14
You can’t perform that action at this time.
0 commit comments