From 8062f0238bce216f8f5607b58250dd5804889c4a Mon Sep 17 00:00:00 2001 From: isaiahmartin847 Date: Mon, 27 Jan 2025 12:25:38 -0700 Subject: [PATCH] I added a wrapper div with a class of relative to make the icon and tooltip align vertically inline. --- .../SecretRenameRow.tsx | 104 +++++++++--------- 1 file changed, 55 insertions(+), 49 deletions(-) diff --git a/frontend/src/pages/secret-manager/OverviewPage/components/SecretOverviewTableRow/SecretRenameRow.tsx b/frontend/src/pages/secret-manager/OverviewPage/components/SecretOverviewTableRow/SecretRenameRow.tsx index 2295a963c..e0980e9a6 100644 --- a/frontend/src/pages/secret-manager/OverviewPage/components/SecretOverviewTableRow/SecretRenameRow.tsx +++ b/frontend/src/pages/secret-manager/OverviewPage/components/SecretOverviewTableRow/SecretRenameRow.tsx @@ -189,17 +189,19 @@ function SecretRenameRow({ environments, getSecretByKey, secretKey, secretPath } animate={{ x: 0, opacity: 1 }} exit={{ x: 10, opacity: 0 }} > - - - - - +
+ + + + + +
) : ( - - - {isSubmitting ? ( - - ) : ( - - )} - - - - reset()} - isDisabled={isSubmitting} - > - - - +
+ + + {isSubmitting ? ( + + ) : ( + + )} + + +
+
+ + reset()} + isDisabled={isSubmitting} + > + + + +
)}