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={
<> <>
<Button onClick={() => history.push(`${url}/add-client`)}> <ToolbarItem>
{t("createClient")} <Button onClick={() => history.push(`${url}/add-client`)}>
</Button> {t("createClient")}
<Button </Button>
onClick={() => history.push(`${url}/import-client`)} </ToolbarItem>
variant="link" <ToolbarItem>
> <Button
{t("importClient")} onClick={() => history.push(`${url}/import-client`)}
</Button> variant="link"
>
{t("importClient")}
</Button>
</ToolbarItem>
</> </>
} }
actions={[ actions={[