changed first and last buttons

This commit is contained in:
Mamalizz
2025-02-27 20:47:54 +03:30
parent 0bfb3c2697
commit 46e8d4b7ab
+9 -8
View File
@@ -34,11 +34,11 @@ const page = computed({
v-model:page="page"
>
<PaginationList v-slot="{ items }" class="flex items-center gap-2">
<PaginationLast
class="px-2 h-9 font-light whitespace-nowrap flex items-center justify-center bg-transparent cursor-pointer transition disabled:opacity-50 disabled:cursor-not-allowed rounded-lg"
<PaginationFirst
class="px-2 h-9 font-light flex items-center whitespace-nowrap justify-center bg-transparent cursor-pointer transition disabled:opacity-50 disabled:cursor-not-allowed rounded-lg"
>
برو آخر
</PaginationLast>
برو اول
</PaginationFirst>
<PaginationNext
class="w-9 h-9 ml-4 flex items-center justify-center cursor-pointer hover:bg-slate-100 transition disabled:opacity-50 disabled:cursor-not-allowed rounded-lg"
>
@@ -73,11 +73,12 @@ const page = computed({
>
<Icon name="ci:chevron-left" class="**:fill-back" size="18px" />
</PaginationPrev>
<PaginationFirst
class="px-2 h-9 font-light flex items-center whitespace-nowrap justify-center bg-transparent cursor-pointer transition disabled:opacity-50 disabled:cursor-not-allowed rounded-lg"
<PaginationLast
class="px-2 h-9 font-light whitespace-nowrap flex items-center justify-center bg-transparent cursor-pointer transition disabled:opacity-50 disabled:cursor-not-allowed rounded-lg"
>
برو اول
</PaginationFirst>
برو آخر
</PaginationLast>
</PaginationList>
</PaginationRoot>
</template>