Skip to content

Commit 0069b71

Browse files
committed
Correct sized buttons in the Env Var page table menu
1 parent 58515aa commit 0069b71

File tree

1 file changed

+3
-10
lines changed
  • apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.v3.$projectParam.environment-variables

1 file changed

+3
-10
lines changed

apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.v3.$projectParam.environment-variables/route.tsx

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -346,14 +346,7 @@ function EditEnvironmentVariablePanel({
346346
return (
347347
<Dialog open={isOpen} onOpenChange={setIsOpen}>
348348
<DialogTrigger asChild>
349-
<Button
350-
variant="small-menu-item"
351-
LeadingIcon={PencilSquareIcon}
352-
leadingIconClassName="text-charcoal-500"
353-
className="text-xs"
354-
fullWidth
355-
textAlignLeft
356-
>
349+
<Button variant="small-menu-item" LeadingIcon={PencilSquareIcon} fullWidth textAlignLeft>
357350
Edit
358351
</Button>
359352
</DialogTrigger>
@@ -478,8 +471,8 @@ function DeleteEnvironmentVariableButton({
478471
fullWidth
479472
textAlignLeft
480473
LeadingIcon={TrashIcon}
481-
leadingIconClassName="text-rose-500"
482-
className="text-xs"
474+
leadingIconClassName="text-rose-500 group-hover/button:text-text-bright transition-colors"
475+
className="transition-colors group-hover/button:bg-error"
483476
>
484477
{isLoading ? "Deleting" : "Delete"}
485478
</Button>

0 commit comments

Comments
 (0)