Skip to content

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

fix styles

Matheus Nogueira774f7d5d5a2c
diff --git a/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateGroupsSection.tsx b/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateGroupsSection.tsx
index 53a138f6ee..b1346f02d7 100644
--- a/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateGroupsSection.tsx
+++ b/frontend/src/pages/organization/ProductSettingsPage/project-templates/EditProjectTemplateSection/components/ProjectTemplateGroupsSection.tsx
@@ -227,19 +227,18 @@ export const ProjectTemplateGroupsSection = ({ projectTemplate }: Props) => {
{groups.length > 0 ? (
<Table
className="table-fixed"
- containerClassName="rounded-lg border-mineshaft-600 bg-mineshaft-800"
>
<TableHeader>
<TableRow>
- <TableHead className="h-12 px-5 text-sm text-mineshaft-200">Group</TableHead>
- <TableHead className="h-12 px-5 text-sm text-mineshaft-200">Roles</TableHead>
- <TableHead className="h-12 w-20 px-5" />
+ <TableHead>Group</TableHead>
+ <TableHead>Roles</TableHead>
+ <TableHead />
</TableRow>
</TableHeader>
<TableBody>
{groups.map(({ id }, pos) => (
- <TableRow key={id} className="hover:bg-transparent">
- <TableCell className="h-[58px] w-1/3 max-w-0 px-5 py-2">
+ <TableRow key={id}>
+ <TableCell className="py-2">
<Controller
control={control}
name={`groups.${pos}.groupSlug`}
@@ -252,7 +251,7 @@ export const ProjectTemplateGroupsSection = ({ projectTemplate }: Props) => {
)}
/>
</TableCell>
- <TableCell className="h-[58px] px-5 py-2">
+ <TableCell className="py-2">
<OrgPermissionCan
I={OrgPermissionActions.Edit}
a={OrgPermissionSubjects.ProjectTemplates}
@@ -299,7 +298,7 @@ export const ProjectTemplateGroupsSection = ({ projectTemplate }: Props) => {
)}
</OrgPermissionCan>
</TableCell>
- <TableCell className="h-[58px] px-5 py-2">
+ <TableCell className="py-2">
<div className="flex justify-end">
<OrgPermissionCan
I={OrgPermissionActions.Edit}
diff --git a/frontend/src/pages/organization/ProductSettingsPage/project-templates/ProjectTemplatesTable.tsx b/frontend/src/pages/organization/ProductSettingsPage/project-templates/ProjectTemplatesTable.tsx
index b9bc893f7c..b709d11f31 100644
--- a/frontend/src/pages/organization/ProductSettingsPage/project-templates/ProjectTemplatesTable.tsx
+++ b/frontend/src/pages/organization/ProductSettingsPage/project-templates/ProjectTemplatesTable.tsx
@@ -69,7 +69,7 @@ export const ProjectTemplatesTable = ({ projectType, onEdit }: Props) => {
return (
<div>
- <InputGroup>
+ <InputGroup className="mb-4">
<InputGroupAddon>
<Search className="size-4" />
</InputGroupAddon>
@@ -88,7 +88,7 @@ export const ProjectTemplatesTable = ({ projectType, onEdit }: Props) => {
</EmptyHeader>
</Empty>
) : (
- <Table containerClassName="mt-4">
+ <Table>
<TableHeader>
<TableRow>
<TableHead>Name</TableHead>