V2Wizard: Fix VMware popovers

The popovers for VMware sphere types were not buttons. This caused weird behaviour with "ban" cursor when disabled and not opening popover when enabled.
This commit is contained in:
regexowl 2024-04-24 12:00:54 +02:00 committed by Lucas Garfield
parent 74db28de8a
commit 817a813107

View file

@ -1,6 +1,7 @@
import React, { useState } from 'react';
import {
Button,
Checkbox,
FormGroup,
Popover,
@ -205,7 +206,14 @@ const TargetEnvironment = () => {
</TextContent>
}
>
<HelpIcon className="pf-u-ml-sm" />
<Button
className="pf-u-pl-sm pf-u-pt-0 pf-u-pb-0"
variant="plain"
aria-label="About OpenSCAP"
isInline
>
<HelpIcon />
</Button>
</Popover>
</>
}
@ -244,7 +252,14 @@ const TargetEnvironment = () => {
</TextContent>
}
>
<HelpIcon className="pf-u-ml-sm" />
<Button
className="pf-u-pl-sm pf-u-pt-0 pf-u-pb-0"
variant="plain"
aria-label="About OpenSCAP"
isInline
>
<HelpIcon />
</Button>
</Popover>
</>
}