fix: review button

This commit is contained in:
Jannat Patel
2024-02-01 10:48:05 +05:30
parent 8f317d2f44
commit 53eb95612c
11 changed files with 237 additions and 199 deletions

View File

@@ -2,8 +2,8 @@
<div class="flex text-center">
<div v-for="index in 5">
<Star
:class="{ 'fill-orange-500': index <= rating }"
class="h-5 w-5 fill-gray-400 text-gray-200 mr-1 cursor-pointer"
:class="index <= rating ? 'fill-orange-500' : ''"
class="h-6 w-6 fill-gray-400 text-gray-50 mr-1 cursor-pointer"
@click="markRating(index)"
/>
</div>