Merge pull request #12363 from nixocio/ui_issue_5195

Modify position of tooltip for management job list
This commit is contained in:
Sarah Akus
2022-06-14 10:29:49 -04:00
committed by GitHub
2 changed files with 3 additions and 3 deletions

View File

@@ -29,7 +29,7 @@ function LaunchManagementPrompt({
const [dataRetention, setDataRetention] = useState(defaultDays); const [dataRetention, setDataRetention] = useState(defaultDays);
return ( return (
<> <>
<Tooltip content={t`Launch management job`} position="top"> <Tooltip content={t`Launch management job`} position="left">
<Button <Button
aria-label={t`Launch management job`} aria-label={t`Launch management job`}
variant="plain" variant="plain"

View File

@@ -71,7 +71,7 @@ function ManagementJobListItem({
</Td> </Td>
<Td dataLabel={t`Description`}>{description}</Td> <Td dataLabel={t`Description`}>{description}</Td>
<ActionsTd dataLabel={t`Actions`}> <ActionsTd dataLabel={t`Actions`}>
<ActionItem visible={isSuperUser} tooltip={t`Launch Management Job`}> <ActionItem visible={isSuperUser}>
{isSuperUser ? ( {isSuperUser ? (
<> <>
{isPrompted ? ( {isPrompted ? (
@@ -84,7 +84,7 @@ function ManagementJobListItem({
defaultDays={30} defaultDays={30}
/> />
) : ( ) : (
<Tooltip content={t`Launch management job`} position="top"> <Tooltip content={t`Launch management job`} position="left">
<Button <Button
ouiaId={`${id}-launch-button`} ouiaId={`${id}-launch-button`}
aria-label={t`Launch management job`} aria-label={t`Launch management job`}