Updates
This commit is contained in:
@@ -20,6 +20,7 @@
|
||||
<script lang="ts">
|
||||
import {t} from "astro-i18n";
|
||||
import {
|
||||
ChevronDoubleLeftOutline,
|
||||
ChevronDoubleRightOutline,
|
||||
ChevronLeftOutline, ChevronRightOutline,
|
||||
FolderOutline,
|
||||
@@ -149,7 +150,13 @@
|
||||
<div class="w-full flex justify-center mt-4">
|
||||
<ul class="inline-flex">
|
||||
<li>
|
||||
<button on:click={previous} class="btn btn-gray h-8 px-3 text-sm flex items-center !m-0 !rounded-r-none">
|
||||
<button on:click={() => page = 0} class="btn btn-gray h-8 px-3 text-sm flex items-center !m-0 !rounded-l-none">
|
||||
<span class="sr-only">Next</span>
|
||||
<ChevronDoubleLeftOutline class="w-3 h-3" />
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<button on:click={previous} class="btn btn-gray h-8 px-3 text-sm flex items-center !m-0 !rounded-none">
|
||||
<span class="sr-only">Previous</span>
|
||||
<ChevronLeftOutline class="w-3 h-3" />
|
||||
</button>
|
||||
@@ -162,11 +169,17 @@
|
||||
</li>
|
||||
{/each}
|
||||
<li>
|
||||
<button on:click={next} class="btn btn-gray h-8 px-3 text-sm flex items-center !m-0 !rounded-l-none">
|
||||
<button on:click={next} class="btn btn-gray h-8 px-3 text-sm flex items-center !m-0 !rounded-none">
|
||||
<span class="sr-only">Next</span>
|
||||
<ChevronRightOutline class="w-3 h-3" />
|
||||
</button>
|
||||
</li>
|
||||
<li>
|
||||
<button on:click={() => page = maxPage - 1} class="btn btn-gray h-8 px-3 text-sm flex items-center !m-0 !rounded-l-none">
|
||||
<span class="sr-only">Next</span>
|
||||
<ChevronDoubleRightOutline class="w-3 h-3" />
|
||||
</button>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user