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.

style: quotation explorer tree view

Brad Barbin5d7c1632b052
diff --git a/apps/carbon/app/modules/sales/ui/Quotation/QuotationExplorer.tsx b/apps/carbon/app/modules/sales/ui/Quotation/QuotationExplorer.tsx
index e1b760a3dd..f677d5490b 100644
--- a/apps/carbon/app/modules/sales/ui/Quotation/QuotationExplorer.tsx
+++ b/apps/carbon/app/modules/sales/ui/Quotation/QuotationExplorer.tsx
@@ -466,7 +466,13 @@ const QuotationExplorer = () => {
return tree.map((node) => {
return (
<div className="w-full" role="group" key={`${node.id}:${node.type}`}>
- <HStack className="items-stretch w-full" spacing={0}>
+ <HStack
+ className="items-stretch w-full"
+ spacing={0}
+ style={{
+ paddingLeft: `calc(${0.75 * level}rem)`,
+ }}
+ >
<IconButton
aria-label={collapsedNodes[node.id] ? "Expand" : "Collapse"}
onClick={() => toggleNode(node.id)}