diff --git a/client/src/components/ui/RatingScale.vue b/client/src/components/ui/RatingScale.vue index eba9bb78..3b5c12f1 100644 --- a/client/src/components/ui/RatingScale.vue +++ b/client/src/components/ui/RatingScale.vue @@ -6,7 +6,7 @@ class="col-start-2 row-span-2 inline-flex h-9 w-11 items-center justify-center rounded text-xl font-bold" :style="ratingValueStyle" > - {{ rating }} + {{ rating.toFixed(1) }}
{{ answers }} {{ $t("feedback.answers") }}
@@ -153,7 +153,7 @@ const getRGBString = ([r, g, b]: RGB) => { // }; const percent = computed(() => { - return (scale.value - 1) * 33.33 + weight.value * 25; + return (scale.value - 1) * 33.33 + weight.value * 33.33; }); const leftPosition = computed(() => {