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.

refactor: styling improvements for MES feedback popover

Rob Carringtona418416d21d8
diff --git a/apps/mes/app/components/Feedback.tsx b/apps/mes/app/components/Feedback.tsx
index efd665012d..f2a12d5a33 100644
--- a/apps/mes/app/components/Feedback.tsx
+++ b/apps/mes/app/components/Feedback.tsx
@@ -82,11 +82,11 @@ const Feedback = () => {
return (
<Popover>
<PopoverTrigger ref={popoverTriggerRef} asChild>
- <Button variant="secondary" className="text-muted-foreground">
+ <Button variant="secondary" size="lg" className="text-muted-foreground">
Feedback
</Button>
</PopoverTrigger>
- <PopoverContent align="end" className="w-[380px] ">
+ <PopoverContent className="w-[380px] ">
<ValidatedForm
method="post"
action={path.to.feedback}
diff --git a/apps/mes/app/routes/x+/_layout.tsx b/apps/mes/app/routes/x+/_layout.tsx
index 41e79a13ad..ede7037815 100644
--- a/apps/mes/app/routes/x+/_layout.tsx
+++ b/apps/mes/app/routes/x+/_layout.tsx
@@ -215,7 +215,7 @@ export default function AuthenticatedRoute() {
]}
/>
</div>
- <div className="flex flex-col">
+ <div className="flex flex-col p-2">
<Feedback />
</div>
</div>