Skip to content

fix(common): config page container style bug #2167

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion shell/app/config-page/components/list/list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ const List = (props: CP_LIST.Props) => {
);
})}
{!isLoadMore && pagination ? (
<Pagination className="flex items-center flex-wrap justify-end mt-3" {...pagination} />
<Pagination className="flex items-center flex-wrap justify-end mt-3 mb-1" {...pagination} />
) : null}
{isLoadMore && total > Math.max(state.combineList?.length, 0) && (
<div className="hover-active load-more" onClick={loadMore}>
Expand Down
2 changes: 1 addition & 1 deletion shell/app/config-page/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ const ConfigPage = React.forwardRef((props: IProps, ref: any) => {

return showLoading ? (
<Spin spinning={showLoading && fetching} wrapperClassName={`${fullHeight ? 'full-spin-height' : ''}`}>
<div className="h-full">{Content}</div>
<div className="h-full overflow-auto">{Content}</div>
</Spin>
) : (
Content
Expand Down