mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
Use styles to add prompt header spacing
This commit is contained in:
@@ -9,6 +9,7 @@ import styled from 'styled-components';
|
|||||||
|
|
||||||
const PromptHeader = styled.h2`
|
const PromptHeader = styled.h2`
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
|
margin: var(--pf-global--spacer--lg) 0;
|
||||||
`;
|
`;
|
||||||
|
|
||||||
function hasPromptData(launchData) {
|
function hasPromptData(launchData) {
|
||||||
@@ -49,9 +50,7 @@ function PromptDetail({ i18n, resource, launchConfig = {} }) {
|
|||||||
|
|
||||||
{hasPromptData(launchConfig) && (
|
{hasPromptData(launchConfig) && (
|
||||||
<>
|
<>
|
||||||
<br />
|
|
||||||
<PromptHeader>{i18n._(t`Prompted Values`)}</PromptHeader>
|
<PromptHeader>{i18n._(t`Prompted Values`)}</PromptHeader>
|
||||||
<br />
|
|
||||||
<DetailList>
|
<DetailList>
|
||||||
{launchConfig.ask_job_type_on_launch && (
|
{launchConfig.ask_job_type_on_launch && (
|
||||||
<Detail label={i18n._(t`Job Type`)} value={defaults?.job_type} />
|
<Detail label={i18n._(t`Job Type`)} value={defaults?.job_type} />
|
||||||
|
|||||||
Reference in New Issue
Block a user