Wizard: Update group labels spacing and "add button" color
This commit is contained in:
parent
e60e15c6d6
commit
eed08effe1
2 changed files with 9 additions and 13 deletions
|
|
@ -4,6 +4,7 @@ import {
|
|||
Button,
|
||||
HelperText,
|
||||
HelperTextItem,
|
||||
Icon,
|
||||
Label,
|
||||
LabelGroup,
|
||||
TextInputGroup,
|
||||
|
|
@ -105,7 +106,11 @@ const LabelInput = ({
|
|||
/>
|
||||
<TextInputGroupUtilities>
|
||||
<Button
|
||||
icon={<PlusCircleIcon className="pf-v6-u-primary-color-100" />}
|
||||
icon={
|
||||
<Icon status="info">
|
||||
<PlusCircleIcon />
|
||||
</Icon>
|
||||
}
|
||||
variant="plain"
|
||||
onClick={(e) => handleAddItem(e, inputValue)}
|
||||
isDisabled={!inputValue}
|
||||
|
|
|
|||
|
|
@ -8,7 +8,6 @@ import {
|
|||
Radio,
|
||||
Tooltip,
|
||||
Content,
|
||||
ContentVariants,
|
||||
} from '@patternfly/react-core';
|
||||
import { Tile } from '@patternfly/react-core/deprecated';
|
||||
import { HelpIcon, ExternalLinkAltIcon } from '@patternfly/react-icons';
|
||||
|
|
@ -121,11 +120,7 @@ const TargetEnvironment = () => {
|
|||
label="Select target environments"
|
||||
data-testid="target-select"
|
||||
>
|
||||
<FormGroup
|
||||
label={
|
||||
<Content component={ContentVariants.small}>Public cloud</Content>
|
||||
}
|
||||
>
|
||||
<FormGroup label={<small>Public cloud</small>}>
|
||||
<div className="tiles">
|
||||
{supportedEnvironments?.includes('aws') && (
|
||||
<Tile
|
||||
|
|
@ -215,9 +210,7 @@ const TargetEnvironment = () => {
|
|||
{supportedEnvironments?.includes('vsphere') && (
|
||||
<>
|
||||
<FormGroup
|
||||
label={
|
||||
<Content component={ContentVariants.small}>Private cloud</Content>
|
||||
}
|
||||
label={<small>Private cloud</small>}
|
||||
className="pf-v6-u-mt-sm"
|
||||
>
|
||||
<Checkbox
|
||||
|
|
@ -340,9 +333,7 @@ const TargetEnvironment = () => {
|
|||
</FormGroup>
|
||||
</>
|
||||
)}
|
||||
<FormGroup
|
||||
label={<Content component={ContentVariants.small}>Other</Content>}
|
||||
>
|
||||
<FormGroup label={<small>Other</small>}>
|
||||
{supportedEnvironments?.includes('guest-image') && (
|
||||
<Checkbox
|
||||
label="Virtualization - Guest image (.qcow2)"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue