Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix(frontend): match secret row hover actions to standard ghost icon buttons (#8020)

claude[bot]1cbfe57a75d6
diff --git a/frontend/src/pages/secret-manager/OverviewPage/components/SecretTableRow/SecretEditTableRow.tsx b/frontend/src/pages/secret-manager/OverviewPage/components/SecretTableRow/SecretEditTableRow.tsx
index b08af61b79..0e5ac9f4c0 100644
--- a/frontend/src/pages/secret-manager/OverviewPage/components/SecretTableRow/SecretEditTableRow.tsx
+++ b/frontend/src/pages/secret-manager/OverviewPage/components/SecretTableRow/SecretEditTableRow.tsx
@@ -1320,7 +1320,7 @@ export const SecretEditTableRow = ({
<TooltipTrigger asChild>
<IconButton
variant="ghost"
- className="hover:text-error size-7 border-0"
+ className="size-7 border-0 hover:text-danger"
size="xs"
onClick={() => onBatchRevert?.(environment, secretName)}
>
@@ -1341,7 +1341,7 @@ export const SecretEditTableRow = ({
<IconButton
variant="ghost"
size="xs"
- className="size-7 border-0 text-muted hover:text-foreground"
+ className="size-7 border-0"
onClick={() => setIsCommentOpen(true)}
>
<MessageSquareIcon className="size-3.5" />
@@ -1356,7 +1356,7 @@ export const SecretEditTableRow = ({
<IconButton
variant="ghost"
size="xs"
- className="size-7 border-0 text-muted hover:text-foreground"
+ className="size-7 border-0"
onClick={() => setIsTagOpen(true)}
>
<TagsIcon className="size-3.5" />
@@ -1371,7 +1371,7 @@ export const SecretEditTableRow = ({
<IconButton
variant="ghost"
size="xs"
- className="size-7 border-0 text-muted hover:text-foreground"
+ className="size-7 border-0"
onClick={() => setIsReminderOpen(true)}
>
<BellIcon className="size-3.5" />
@@ -1386,7 +1386,7 @@ export const SecretEditTableRow = ({
<IconButton
variant="ghost"
size="xs"
- className="size-7 border-0 text-muted hover:text-foreground"
+ className="size-7 border-0"
onClick={() => setIsMetadataOpen(true)}
>
<CodeXmlIcon className="size-3.5" />
@@ -1403,7 +1403,7 @@ export const SecretEditTableRow = ({
<IconButton
variant="ghost"
size="xs"
- className="size-7 border-0 text-muted hover:text-foreground"
+ className="size-7 border-0"
isDisabled={
isPendingDelete ||
isImportedSecret ||
@@ -1436,7 +1436,7 @@ export const SecretEditTableRow = ({
<IconButton
variant="ghost"
size="xs"
- className="size-7 border-0 text-muted hover:text-foreground"
+ className="size-7 border-0"
isDisabled={isPendingDelete || !canCopySecret}
onClick={handleCopySharedToClipboard}
>
@@ -1461,11 +1461,7 @@ export const SecretEditTableRow = ({
<Tooltip>
<TooltipTrigger asChild>
<DropdownMenuTrigger asChild>
- <IconButton
- variant="ghost"
- size="xs"
- className="size-7 border-0 text-muted hover:text-foreground"
- >
+ <IconButton variant="ghost" size="xs" className="size-7 border-0">
<EllipsisIcon />
</IconButton>
</DropdownMenuTrigger>