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
commit 84fcd2ff00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

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

View File

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