Skip to content

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

add padding to table rows that has FilterableSelect

Matheus Nogueirab2e927e033e7
diff --git a/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateIdentitiesSection.tsx b/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateIdentitiesSection.tsx
index fe795559b3..d7608672a2 100644
--- a/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateIdentitiesSection.tsx
+++ b/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateIdentitiesSection.tsx
@@ -357,7 +357,7 @@ export const ProjectTemplateIdentitiesSection = ({ projectTemplate }: Props) =>
<TableBody>
{allIdentitiesForTable.map((item) => (
<TableRow key={item.id}>
- <TableCell>
+ <TableCell className="py-2">
<p className="flex items-center gap-3 truncate">
<Tooltip>
<TooltipTrigger asChild>
@@ -376,7 +376,7 @@ export const ProjectTemplateIdentitiesSection = ({ projectTemplate }: Props) =>
</span>
</p>
</TableCell>
- <TableCell>
+ <TableCell className="py-2">
<OrgPermissionCan
I={OrgPermissionActions.Edit}
a={OrgPermissionSubjects.ProjectTemplates}
@@ -427,7 +427,7 @@ export const ProjectTemplateIdentitiesSection = ({ projectTemplate }: Props) =>
)}
</OrgPermissionCan>
</TableCell>
- <TableCell>
+ <TableCell className="py-2">
<div className="flex justify-end">
<OrgPermissionCan
I={OrgPermissionActions.Edit}
diff --git a/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateUsersSection.tsx b/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateUsersSection.tsx
index c236b8f8fb..6a0d00a210 100644
--- a/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateUsersSection.tsx
+++ b/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateUsersSection.tsx
@@ -239,7 +239,7 @@ export const ProjectTemplateUsersSection = ({ projectTemplate }: Props) => {
<TableBody>
{users.map(({ id }, pos) => (
<TableRow key={id}>
- <TableCell>
+ <TableCell className="py-2">
<Controller
control={control}
name={`users.${pos}.username`}
@@ -252,7 +252,7 @@ export const ProjectTemplateUsersSection = ({ projectTemplate }: Props) => {
)}
/>
</TableCell>
- <TableCell>
+ <TableCell className="py-2">
<OrgPermissionCan
I={OrgPermissionActions.Edit}
a={OrgPermissionSubjects.ProjectTemplates}
@@ -299,7 +299,7 @@ export const ProjectTemplateUsersSection = ({ projectTemplate }: Props) => {
)}
</OrgPermissionCan>
</TableCell>
- <TableCell>
+ <TableCell className="py-2">
<div className="flex justify-end">
<OrgPermissionCan
I={OrgPermissionActions.Edit}