fix:pagination width
This commit is contained in:
parent
a7eef2e1dc
commit
b740ca8c44
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Reference in New Issue