ImagesTable: fix main section alignment
With the change to PF6 the list of items in the table section was not padded properly, we can fix this by wrapping the code in a `PageSection` component.
This commit is contained in:
parent
b465920b18
commit
c59cde1ab9
1 changed files with 3 additions and 2 deletions
|
|
@ -11,6 +11,7 @@ import {
|
|||
Bullseye,
|
||||
Badge,
|
||||
Button,
|
||||
PageSection,
|
||||
} from '@patternfly/react-core';
|
||||
import { OnSetPage } from '@patternfly/react-core/dist/esm/components/Pagination/Pagination';
|
||||
import {
|
||||
|
|
@ -233,7 +234,7 @@ const ImagesTable = () => {
|
|||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
<PageSection>
|
||||
<ImagesTableToolbar
|
||||
itemCount={itemCount}
|
||||
perPage={perPage}
|
||||
|
|
@ -296,7 +297,7 @@ const ImagesTable = () => {
|
|||
</ToolbarItem>
|
||||
</ToolbarContent>
|
||||
</Toolbar>
|
||||
</>
|
||||
</PageSection>
|
||||
);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue