Wizard: Remove category and fix Review alignment

This removes the chip category and adds a version slug to make the alignment on Review step work properly.
This commit is contained in:
regexowl 2024-12-06 09:35:46 +01:00 committed by Lucas Garfield
parent 1483ff9e9e
commit 60175aa911
2 changed files with 3 additions and 7 deletions

View file

@ -750,7 +750,7 @@ export const TimezoneList = () => {
<TextList component={TextListVariants.dl}> <TextList component={TextListVariants.dl}>
<TextListItem <TextListItem
component={TextListItemVariants.dt} component={TextListItemVariants.dt}
className="pf-u-min-width" className="pf-v5-u-min-width"
> >
Timezone Timezone
</TextListItem> </TextListItem>
@ -759,7 +759,7 @@ export const TimezoneList = () => {
</TextListItem> </TextListItem>
<TextListItem <TextListItem
component={TextListItemVariants.dt} component={TextListItemVariants.dt}
className="pf-u-min-width" className="pf-v5-u-min-width"
> >
NTP servers NTP servers
</TextListItem> </TextListItem>

View file

@ -75,11 +75,7 @@ const NtpServersInput = () => {
</Button> </Button>
</TextInputGroupUtilities> </TextInputGroupUtilities>
</TextInputGroup> </TextInputGroup>
<ChipGroup <ChipGroup numChips={5} className="pf-v5-u-mt-sm pf-v5-u-w-100">
categoryName="Added NTP servers"
numChips={5}
className="pf-v5-u-mt-sm pf-v5-u-w-100"
>
{ntpServers?.map((server) => ( {ntpServers?.map((server) => (
<Chip key={server} onClick={() => dispatch(removeNtpServer(server))}> <Chip key={server} onClick={() => dispatch(removeNtpServer(server))}>
{server} {server}