Skip to content

Commit

Permalink
fix: TableStatusFilter alignment
Browse files Browse the repository at this point in the history
  • Loading branch information
lfjnascimento committed Oct 25, 2024
1 parent fcaa97b commit 77698ad
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
10 changes: 8 additions & 2 deletions dashboard/src/pages/TreeDetails/Tabs/Boots/BootsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,14 @@ export function BootsTable({ treeId, testHistory }: IBootsTable): JSX.Element {

return (
<div className="flex flex-col gap-6 pb-4">
<TableStatusFilter filters={filters} onClickTest={onClickFilter} />
<PaginationInfo table={table} data={data} intlLabel="treeDetails.boots" />
<div className="flex justify-between">
<TableStatusFilter filters={filters} onClickTest={onClickFilter} />
<PaginationInfo
table={table}
data={data}
intlLabel="treeDetails.boots"
/>
</div>
<BaseTable headerComponents={tableHeaders}>
<TableBody>{tableRows}</TableBody>
</BaseTable>
Expand Down
10 changes: 8 additions & 2 deletions dashboard/src/pages/TreeDetails/Tabs/Tests/TestsTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -356,8 +356,14 @@ export function TestsTable({ testHistory }: ITestsTable): JSX.Element {

return (
<div className="flex flex-col gap-6 pb-4">
<TableStatusFilter filters={filters} onClickTest={onClickFilter} />
<PaginationInfo table={table} data={data} intlLabel="treeDetails.tests" />
<div className="flex justify-between">
<TableStatusFilter filters={filters} onClickTest={onClickFilter} />
<PaginationInfo
table={table}
data={data}
intlLabel="treeDetails.tests"
/>
</div>
<BaseTable headerComponents={tableHeaders}>
<TableBody>{...tableRows}</TableBody>
</BaseTable>
Expand Down

0 comments on commit 77698ad

Please sign in to comment.