Skip to content

Commit

Permalink
feat(dashboard): align layout based on design
Browse files Browse the repository at this point in the history
  • Loading branch information
ChmaraX committed Nov 12, 2024
1 parent 8e0d2de commit bc354fc
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/dashboard/src/components/dashboard-layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const DashboardLayout = ({
<div className="relative flex h-full w-full">
<SideNavigation />
<div className="flex flex-1 flex-col overflow-y-auto overflow-x-hidden">
<HeaderNavigation startItems={headerStartItems} className="px-6" />
<HeaderNavigation startItems={headerStartItems} />

<div className="flex flex-1 flex-col overflow-y-auto overflow-x-hidden">{children}</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard/src/components/workflow-list.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ export const WorkflowList = () => {
}

return (
<div className="flex h-full flex-col px-6 py-2">
<div className="flex h-full flex-col px-2.5 py-2">
<Table>
<TableHeader>
<TableRow>
Expand Down
2 changes: 1 addition & 1 deletion apps/dashboard/src/pages/workflows.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const WorkflowsPage = () => {
return (
<DashboardLayout headerStartItems={<h1 className="text-foreground-950">Workflows</h1>}>
<OptInModal />
<div className="mt-3 flex justify-between px-6 py-2.5">
<div className="mt-3 flex justify-between px-2.5 py-2">
<div className="flex w-[20ch] items-center gap-2 rounded-lg bg-neutral-50 p-2">
<RiSearch2Line className="text-foreground-400 size-5" />
<Input placeholder="Search workflows" />
Expand Down

0 comments on commit bc354fc

Please sign in to comment.