Skip to content

A self-hosted media server and file management system

fix: table pagination highlight overflows container

aminnausin329de21e1504
diff --git a/resources/js/components/cedar-ui/table/TablePagination.vue b/resources/js/components/cedar-ui/table/TablePagination.vue
index 11eb1c9b..a6734db0 100644
--- a/resources/js/components/cedar-ui/table/TablePagination.vue
+++ b/resources/js/components/cedar-ui/table/TablePagination.vue
@@ -67,6 +67,7 @@ const handleSetPage = async (page: number) => {
:disabled="props.currentPage === 1"
@click="handleSetPage(Math.max(1, props.currentPage - 1))"
title="Previous Page"
+ class="*:rounded-l-md"
>
<template #content v-if="useIcons">
<ProiconsChevronLeft class="size-4" title="Previous" />
@@ -110,6 +111,7 @@ const handleSetPage = async (page: number) => {
:disabled="props.currentPage === pageCount"
@click="handleSetPage(Math.min(pageCount, props.currentPage + 1))"
title="Next Page"
+ class="*:rounded-r-md"
>
<template #content v-if="useIcons">
<ProiconsChevronRight class="size-4" title="Next" />
diff --git a/resources/js/components/cedar-ui/table/TablePaginationButton.vue b/resources/js/components/cedar-ui/table/TablePaginationButton.vue
index fc930f2f..c3fdbc71 100644
--- a/resources/js/components/cedar-ui/table/TablePaginationButton.vue
+++ b/resources/js/components/cedar-ui/table/TablePaginationButton.vue
@@ -11,7 +11,7 @@ const props = withDefaults(defineProps<TablePaginationButtonProps>(), {
</script>
<template>
- <li :class="{ hidden: currentPage !== pageNumber && !text && !sticky }" class="z-0 h-full md:block">
+ <li :class="{ hidden: currentPage !== pageNumber && !text && !sticky }" class="h-full md:block">
<button-base
class="group hover:text-foreground-0 disabled:text-foreground-2 pointer-events-auto! relative inline-flex h-full rounded-none px-3"
:class="{