1
0
mirror of https://github.com/typemill/typemill.git synced 2025-07-29 02:10:20 +02:00

V2.4.2 fix paging in medialib

This commit is contained in:
trendschau
2024-04-23 14:34:56 +02:00
parent a4df3fc358
commit 889eba66c9

View File

@@ -33,7 +33,7 @@ const medialib = {
<ul class="w-full flex flex-wrap py-3 text-xs">
<li v-for="num in totalPages" :key="num" class="py-1">
<button
@click="goToPage(num)"
@click.prevent="goToPage(num)"
class="bg-white py-2 px-1 mr-1 w-7 hover:bg-stone-900 hover:text-white transition duration-100"
:class="{'bg-stone-900 text-white': num === currentPage}"
>{{ num }}</button>