Skip to content

Commit fb9a065

Browse files
committed
Improves data table page count display
Ensures the page count display remains consistent across all screen sizes, improving user experience on smaller devices.
1 parent 411ad7a commit fb9a065

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/Exceptionless.Web/ClientApp/src/lib/features/shared/components/data-table/data-table-page-count.svelte

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@
2020
</div>
2121

2222
<div class="flex items-center justify-center sm:hidden">
23-
<span aria-hidden="true" class="truncate"><Number value={table.getState().pagination.pageIndex + 1} /> / <Number value={Math.max(1, table.getPageCount())} /></span>
23+
<span aria-hidden="true" class="truncate"
24+
><Number value={table.getState().pagination.pageIndex + 1} /> / <Number value={Math.max(1, table.getPageCount())} /></span
25+
>
2426
</div>
2527

2628
<span class="sr-only">Page <Number value={table.getState().pagination.pageIndex + 1} /> of <Number value={Math.max(1, table.getPageCount())} /></span>

0 commit comments

Comments
 (0)