Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

fix(Pagination): Replace `disabled` with `pe-none` to optimise style.

haitaoo789f56686912
diff --git a/ui/src/components/Pagination/index.tsx b/ui/src/components/Pagination/index.tsx
index 6c3847ef..de3ab101 100644
--- a/ui/src/components/Pagination/index.tsx
+++ b/ui/src/components/Pagination/index.tsx
@@ -134,7 +134,7 @@ const Index: FC<Props> = ({
path={handleParams(1)}
/>
- <Pagination.Ellipsis disabled />
+ <Pagination.Ellipsis className="pe-none" />
</>
)}
{currentPage >= 5 && (
@@ -182,7 +182,7 @@ const Index: FC<Props> = ({
);
})}
{totalPage > 5 && realPage + 2 < totalPage && (
- <Pagination.Ellipsis disabled />
+ <Pagination.Ellipsis className="pe-none" />
)}
{totalPage > 0 && currentPage < totalPage && (