Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

fix(mes): align the assigned board with the search bar

sidgaikwadd2df4fecfea9
diff --git a/apps/mes/app/routes/x+/assigned.tsx b/apps/mes/app/routes/x+/assigned.tsx
index 739cb72256..d76d6f4ce4 100644
--- a/apps/mes/app/routes/x+/assigned.tsx
+++ b/apps/mes/app/routes/x+/assigned.tsx
@@ -163,8 +163,8 @@ export default function AssignedRoute() {
</header>
<main className="h-[calc(100dvh-var(--header-height))] w-full overflow-y-auto scrollbar-thin scrollbar-thumb-accent scrollbar-track-transparent">
- <div className="w-full p-4 h-[var(--header-height)]">
- <div className="relative">
+ <div className="w-full px-4 h-[var(--header-height)] flex items-center">
+ <div className="relative w-full">
<div className="flex justify-between gap-4">
<div className="flex flex-grow">
<LuSearch className="absolute left-2 top-2.5 h-4 w-4 text-muted-foreground" />
@@ -203,8 +203,11 @@ export default function AssignedRoute() {
}
>
{() => (
- <div className="flex flex-grow items-stretch overflow-hidden relative">
- <div className="flex flex-1 min-h-full w-full relative">
+ <div className="flex flex-grow items-stretch justify-center overflow-hidden relative">
+ <div
+ className="flex flex-1 min-h-full w-full relative"
+ style={{ maxWidth: `${columns.length * 350}px` }}
+ >
<Kanban
columns={columns}
items={items}