diff --git a/apps/website/src/lib/components/Pagination.svelte b/apps/website/src/lib/components/Pagination.svelte index d5339322c..d8d3cac99 100644 --- a/apps/website/src/lib/components/Pagination.svelte +++ b/apps/website/src/lib/components/Pagination.svelte @@ -83,7 +83,7 @@ size: '32px', color: { base: 'gray.600', _focusVisible: 'gray.600', _pressed: 'gray.0' }, fontSize: '14px', - backgroundColor: { base: 'gray.0', _hover: 'gray.100', _focusVisible: 'gray.200', _pressed: 'gray.900' }, + backgroundColor: { base: 'gray.0', _hover: 'gray.100', _focusVisible: 'gray.200', _pressed: 'gray.900!' }, transition: 'common', })} aria-pressed={currentPage === index} @@ -118,7 +118,7 @@ backgroundColor: { base: 'gray.0', _enabled: { _hover: 'gray.100', _pressed: 'gray.200' } }, _disabled: { cursor: 'not-allowed' }, })} - disabled={currentPageGroup === totalPageGroup || currentPage === maxPage} + disabled={currentPage >= maxPage} type="button" on:click={() => { currentPage = maxPage;