From f00647379e1ceb2a762d099a28a487843380186b Mon Sep 17 00:00:00 2001 From: RachelElysia <71795832+RachelElysia@users.noreply.github.com> Date: Mon, 25 Jul 2022 16:22:00 -0400 Subject: [PATCH] UI: Fix disabled cursor with/without tooltip (#6846) --- ...iffier-tooltips => issue-6617-6835-spiffier-tooltips} | 0 frontend/components/forms/fields/Checkbox/Checkbox.tsx | 2 +- .../components/IntegrationForm/IntegrationForm.tsx | 1 + frontend/pages/hosts/details/DeviceUserPage/_styles.scss | 5 ----- .../pages/hosts/details/HostDetailsPage/_styles.scss | 4 ---- .../hosts/details/cards/Software/SoftwareTableConfig.tsx | 2 +- .../software/ManageSoftwarePage/SoftwareTableConfig.tsx | 2 +- frontend/styles/global/_global.scss | 9 +++++++-- 8 files changed, 11 insertions(+), 14 deletions(-) rename changes/{issue-6617-spiffier-tooltips => issue-6617-6835-spiffier-tooltips} (100%) diff --git a/changes/issue-6617-spiffier-tooltips b/changes/issue-6617-6835-spiffier-tooltips similarity index 100% rename from changes/issue-6617-spiffier-tooltips rename to changes/issue-6617-6835-spiffier-tooltips diff --git a/frontend/components/forms/fields/Checkbox/Checkbox.tsx b/frontend/components/forms/fields/Checkbox/Checkbox.tsx index 31191a26a5..c7e7e1c703 100644 --- a/frontend/components/forms/fields/Checkbox/Checkbox.tsx +++ b/frontend/components/forms/fields/Checkbox/Checkbox.tsx @@ -77,7 +77,7 @@ const Checkbox = (props: ICheckboxProps) => { {tooltip ? ( - + {children as string} diff --git a/frontend/pages/admin/IntegrationsPage/components/IntegrationForm/IntegrationForm.tsx b/frontend/pages/admin/IntegrationsPage/components/IntegrationForm/IntegrationForm.tsx index ecc580b0fd..8be3992555 100644 --- a/frontend/pages/admin/IntegrationsPage/components/IntegrationForm/IntegrationForm.tsx +++ b/frontend/pages/admin/IntegrationsPage/components/IntegrationForm/IntegrationForm.tsx @@ -256,6 +256,7 @@ const IntegrationForm = ({ formData.apiToken === "" || formData.groupId === 0) } + className={"tooltip"} >