diff --git a/awx/ui_next/src/components/Workflow/WorkflowTools.jsx b/awx/ui_next/src/components/Workflow/WorkflowTools.jsx index 31ca802ee4..49a07f41fe 100644 --- a/awx/ui_next/src/components/Workflow/WorkflowTools.jsx +++ b/awx/ui_next/src/components/Workflow/WorkflowTools.jsx @@ -3,7 +3,7 @@ import { withI18n } from '@lingui/react'; import { t } from '@lingui/macro'; import styled from 'styled-components'; import { func, number } from 'prop-types'; -import { Tooltip } from '@patternfly/react-core'; +import { Button, Tooltip } from '@patternfly/react-core'; import { CaretDownIcon, CaretLeftIcon, @@ -19,7 +19,7 @@ import { const Wrapper = styled.div` background-color: white; border: 1px solid #c7c7c7; - height: 135px; + height: 215px; position: relative; `; @@ -87,10 +87,14 @@ function WorkflowTools({ content={i18n._(t`Fit the graph to the available screen size`)} position="bottom" > - onFitGraph()} css="margin-right: 30px;" /> + - zoomOut()} css="margin-right: 10px;" /> + - zoomIn()} css="margin: 0px 25px 0px 10px;" /> + - onPan('left')} /> + - onPan('up')} /> + - onPanToMiddle()} /> + - onPan('down')} /> + - onPan('right')} /> +