fix:pagination width

This commit is contained in:
Rama Priyanto 2025-05-31 21:52:58 +07:00
parent a7eef2e1dc
commit b740ca8c44
13 changed files with 28 additions and 3 deletions

View File

@ -362,6 +362,8 @@ export default function DashboardContainer() {
classNames={{
base: "bg-transparent",
wrapper: "bg-transparent",
item: "w-fit px-3",
cursor: "w-fit px-3",
}}
page={page}
total={totalPage}
@ -492,6 +494,8 @@ export default function DashboardContainer() {
classNames={{
base: "bg-transparent",
wrapper: "bg-transparent",
item: "w-fit px-3",
cursor: "w-fit px-3",
}}
page={topPagespage}
total={topPagesTotalPage}

View File

@ -361,7 +361,7 @@ export default function ListNews() {
onChange={setPage}
classNames={{
item: "w-fit px-3",
cursor: "w-fit px-3 text-center",
cursor: "w-fit px-3",
}}
/>
</div>

View File

@ -189,7 +189,8 @@ export default function DetailNews(props: { data: any; listArticle: any }) {
className="p-2"
title={
<p className="text-black dark:text-white font-semibold text-xs md:text-sm">
{`File ${index + 1}`}
{file.file_alt}
{/* {`File ${index + 1}`} */}
</p>
}
>
@ -225,7 +226,7 @@ export default function DetailNews(props: { data: any; listArticle: any }) {
radius="sm"
// onPress={() => doDownload(file?.fileName, file?.title)}
>
File
Buka File
</Button>
</Link>
</AccordionItem>

View File

@ -664,6 +664,8 @@ export default function ArticleTable() {
classNames={{
base: "bg-transparent",
wrapper: "bg-transparent",
item: "w-fit px-3",
cursor: "w-fit px-3",
}}
page={page}
total={totalPage}

View File

@ -343,6 +343,8 @@ export default function CommentTable() {
classNames={{
base: "bg-transparent",
wrapper: "bg-transparent",
item: "w-fit px-3",
cursor: "w-fit px-3",
}}
page={page}
total={totalPage}

View File

@ -179,6 +179,8 @@ export default function TranscriptDraftTable(props: {
classNames={{
base: "bg-transparent",
wrapper: "bg-transparent",
item: "w-fit px-3",
cursor: "w-fit px-3",
}}
page={page}
total={totalPage}

View File

@ -342,6 +342,8 @@ export default function MagazineTable() {
classNames={{
base: "bg-transparent",
wrapper: "bg-transparent",
item: "w-fit px-3",
cursor: "w-fit px-3",
}}
page={page}
total={totalPage}

View File

@ -467,6 +467,8 @@ export default function CategoriesTable(props: { triggerRefresh: boolean }) {
classNames={{
base: "bg-transparent",
wrapper: "bg-transparent",
item: "w-fit px-3",
cursor: "w-fit px-3",
}}
page={page}
total={totalPage}

View File

@ -288,6 +288,8 @@ export default function MasterRoleTable() {
classNames={{
base: "bg-transparent",
wrapper: "bg-transparent",
item: "w-fit px-3",
cursor: "w-fit px-3",
}}
page={page}
total={totalPage}

View File

@ -306,6 +306,8 @@ export default function MasterUserTable() {
classNames={{
base: "bg-transparent",
wrapper: "bg-transparent",
item: "w-fit px-3",
cursor: "w-fit px-3",
}}
page={page}
total={totalPage}

View File

@ -378,6 +378,8 @@ export default function MasterUserLevelTable() {
classNames={{
base: "bg-transparent",
wrapper: "bg-transparent",
item: "w-fit px-3",
cursor: "w-fit px-3",
}}
page={page}
total={totalPage}

View File

@ -290,6 +290,8 @@ export default function StaticPageTable() {
classNames={{
base: "bg-transparent",
wrapper: "bg-transparent",
item: "w-fit px-3",
cursor: "w-fit px-3",
}}
page={page}
total={totalPage}

View File

@ -658,6 +658,8 @@ export default function SuggestionsTable() {
classNames={{
base: "bg-transparent",
wrapper: "bg-transparent",
item: "w-fit px-3",
cursor: "w-fit px-3",
}}
page={page}
total={totalPage}