From e9d524ebc0553071a70e0073d3934028ee5ab63d Mon Sep 17 00:00:00 2001 From: mabashian Date: Wed, 3 Mar 2021 13:36:06 -0500 Subject: [PATCH] Space out the inventory warning --- .../components/LaunchPrompt/steps/useInventoryStep.jsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/awx/ui_next/src/components/LaunchPrompt/steps/useInventoryStep.jsx b/awx/ui_next/src/components/LaunchPrompt/steps/useInventoryStep.jsx index 20c3d19da0..03fd193758 100644 --- a/awx/ui_next/src/components/LaunchPrompt/steps/useInventoryStep.jsx +++ b/awx/ui_next/src/components/LaunchPrompt/steps/useInventoryStep.jsx @@ -1,10 +1,15 @@ import React from 'react'; import { t } from '@lingui/macro'; import { useField } from 'formik'; +import styled from 'styled-components'; import { Alert } from '@patternfly/react-core'; import InventoryStep from './InventoryStep'; import StepName from './StepName'; +const InventoryAlert = styled(Alert)` + margin-bottom: 16px; +`; + const STEP_ID = 'inventory'; export default function useInventoryStep( @@ -53,11 +58,11 @@ function getStep(launchConfig, i18n, formError, resource) { i18n={i18n} warningMessage={ resource.type === 'workflow_job_template' ? ( - ) : null