added space between buttons

This commit is contained in:
Erik Jan de Wit 2021-03-02 08:39:17 +01:00
parent 72907d2583
commit 5d5160bddc

View file

@ -7,6 +7,7 @@ import {
Button, Button,
ButtonVariant, ButtonVariant,
PageSection, PageSection,
ToolbarItem,
} from "@patternfly/react-core"; } from "@patternfly/react-core";
import { ViewHeader } from "../components/view-header/ViewHeader"; import { ViewHeader } from "../components/view-header/ViewHeader";
@ -92,15 +93,19 @@ export const ClientsSection = () => {
searchPlaceholderKey="clients:searchForClient" searchPlaceholderKey="clients:searchForClient"
toolbarItem={ toolbarItem={
<> <>
<ToolbarItem>
<Button onClick={() => history.push(`${url}/add-client`)}> <Button onClick={() => history.push(`${url}/add-client`)}>
{t("createClient")} {t("createClient")}
</Button> </Button>
</ToolbarItem>
<ToolbarItem>
<Button <Button
onClick={() => history.push(`${url}/import-client`)} onClick={() => history.push(`${url}/import-client`)}
variant="link" variant="link"
> >
{t("importClient")} {t("importClient")}
</Button> </Button>
</ToolbarItem>
</> </>
} }
actions={[ actions={[