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.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
style: try to fix scrollbar problems in windows browsers
Brad Barbin391ba8da0dad
diff --git a/apps/carbon/app/components/Grid/Grid.tsx b/apps/carbon/app/components/Grid/Grid.tsxindex f28e821dab..b446ffeb29 100644--- a/apps/carbon/app/components/Grid/Grid.tsx+++ b/apps/carbon/app/components/Grid/Grid.tsx@@ -323,7 +323,7 @@ const Grid = <T extends object>({return (<VStack spacing={0} className="h-full"><div- className="w-full h-full bg-card overflow-x-auto"+ className="w-full h-full bg-card overflow-x-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent"style={{contain: contained ? "strict" : undefined,}}diff --git a/apps/carbon/app/components/InfiniteScroll.tsx b/apps/carbon/app/components/InfiniteScroll.tsxindex 312bd4c0f4..04861fb559 100644--- a/apps/carbon/app/components/InfiniteScroll.tsx+++ b/apps/carbon/app/components/InfiniteScroll.tsx@@ -61,7 +61,7 @@ export default function InfiniteScroll<T extends { id: string }>({return (<div className="w-full">- <ul className="relative h-full overflow-y-auto ">+ <ul className="relative h-full overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent">{items.map((item) => (<Component key={item.id} item={item} />))}diff --git a/apps/carbon/app/components/Layout/Navigation/CollapsibleSidebar.tsx b/apps/carbon/app/components/Layout/Navigation/CollapsibleSidebar.tsxindex aa3012c891..ec8fa7ec7b 100644--- a/apps/carbon/app/components/Layout/Navigation/CollapsibleSidebar.tsx+++ b/apps/carbon/app/components/Layout/Navigation/CollapsibleSidebar.tsx@@ -84,7 +84,7 @@ export const CollapsibleSidebar = ({initial={variants.visible}transition={{ duration: 0.2, ease: "easeInOut" }}variants={variants}- className="relative flex h-[calc(100vh-49px)]"+ className="relative flex h-[calc(100dvh-49px)]"><div className="h-full w-full overflow-y-scroll bg-card border-r border-border">{isOpen ? children : null}diff --git a/apps/carbon/app/components/Layout/Navigation/ContentSidebar.tsx b/apps/carbon/app/components/Layout/Navigation/ContentSidebar.tsxindex da04b92252..fc6849f160 100644--- a/apps/carbon/app/components/Layout/Navigation/ContentSidebar.tsx+++ b/apps/carbon/app/components/Layout/Navigation/ContentSidebar.tsx@@ -11,7 +11,7 @@ const ContentSidebar = ({ links }: { links: Route[] }) => {return (<CollapsibleSidebar>- <div className="overflow-y-auto h-full w-full pb-8">+ <div className="overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent h-full w-full pb-8"><VStack><VStack spacing={1} className="p-2">{links.map((route) => {diff --git a/apps/carbon/app/components/Layout/Navigation/DetailSidebar.tsx b/apps/carbon/app/components/Layout/Navigation/DetailSidebar.tsxindex 47893ad480..ace7e8d862 100644--- a/apps/carbon/app/components/Layout/Navigation/DetailSidebar.tsx+++ b/apps/carbon/app/components/Layout/Navigation/DetailSidebar.tsx@@ -37,7 +37,10 @@ const DetailSidebar = ({ links }: DetailSidebarProps) => {);return (- <VStack className="overflow-y-auto h-full" spacing={1}>+ <VStack+ className="overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent h-full"+ spacing={1}+ >{links.map((route) => {const isActive = location.pathname.includes(route.to);diff --git a/apps/carbon/app/components/Layout/Navigation/GroupedContentSidebar.tsx b/apps/carbon/app/components/Layout/Navigation/GroupedContentSidebar.tsxindex 0a19f66a37..10d043b496 100644--- a/apps/carbon/app/components/Layout/Navigation/GroupedContentSidebar.tsx+++ b/apps/carbon/app/components/Layout/Navigation/GroupedContentSidebar.tsx@@ -24,7 +24,7 @@ const GroupedContentSidebar = ({return (<CollapsibleSidebar width={width}>- <div className="overflow-y-auto h-full w-full pb-8">+ <div className="overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent h-full w-full pb-8"><VStack>{groups.map((group) => (<VStackdiff --git a/apps/carbon/app/components/Layout/Navigation/PrimaryNavigation.tsx b/apps/carbon/app/components/Layout/Navigation/PrimaryNavigation.tsxindex ac05f3a71b..944c07ae2f 100644--- a/apps/carbon/app/components/Layout/Navigation/PrimaryNavigation.tsx+++ b/apps/carbon/app/components/Layout/Navigation/PrimaryNavigation.tsx@@ -39,7 +39,7 @@ const PrimaryNavigation = () => {"bg-background py-[3px] group z-10 h-full w-14 data-[state=expanded]:w-[13rem]","border-r border-border data-[state=expanded]:shadow-xl","transition-width duration-200",- "hide-scrollbar flex flex-col justify-between overflow-y-auto"+ "hide-scrollbar flex flex-col justify-between overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent")}onMouseEnter={navigationPanel.onOpen}onMouseLeave={navigationPanel.onClose}diff --git a/apps/carbon/app/components/Selectors/UserSelect/components/TreeSelect.tsx b/apps/carbon/app/components/Selectors/UserSelect/components/TreeSelect.tsxindex 0b884e72c1..4e930a2812 100644--- a/apps/carbon/app/components/Selectors/UserSelect/components/TreeSelect.tsx+++ b/apps/carbon/app/components/Selectors/UserSelect/components/TreeSelect.tsx@@ -20,7 +20,7 @@ const UserTreeSelect = () => {aria-multiselectable={isMulti}ref={listBoxRef}onMouseOver={onMouseOver}- className="overflow-auto max-h-[300px] my-1 flex flex-col"+ className="overflow-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent max-h-[300px] my-1 flex flex-col">{loading ? (<Spinner />diff --git a/apps/carbon/app/components/Table/Table.tsx b/apps/carbon/app/components/Table/Table.tsxindex 39f2b50b79..c0b7a6b3e7 100644--- a/apps/carbon/app/components/Table/Table.tsx+++ b/apps/carbon/app/components/Table/Table.tsx@@ -577,7 +577,7 @@ const Table = <T extends object>({<divid="table-container"- className="w-full h-full bg-background/90 overflow-x-auto"+ className="w-full h-full bg-background/90 overflow-x-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent"style={{ contain: "strict" }}ref={tableContainerRef}onKeyDown={editMode ? onKeyDown : undefined}diff --git a/apps/carbon/app/modules/documents/ui/Documents/DocumentView.tsx b/apps/carbon/app/modules/documents/ui/Documents/DocumentView.tsxindex 843bf274b3..6a96efd15a 100644--- a/apps/carbon/app/modules/documents/ui/Documents/DocumentView.tsx+++ b/apps/carbon/app/modules/documents/ui/Documents/DocumentView.tsx@@ -61,7 +61,7 @@ const DocumentPreview = ({ bucket, document }: DocumentPreviewProps) => {onLoadSuccess={onDocumentLoadSuccess}loading={<SkeletonDocument />}>- <div className="overflow-auto max-h-[calc(100vh-91px)]">+ <div className="overflow-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent max-h-[calc(100dvh-91px)]">{Array.from(new Array(numPages), (_, index) => (<Pagekey={`page_${index + 1}`}diff --git a/apps/carbon/app/modules/items/ui/Consumables/ConsumableHeader.tsx b/apps/carbon/app/modules/items/ui/Consumables/ConsumableHeader.tsxindex dfdd02cd73..410e8232a7 100644--- a/apps/carbon/app/modules/items/ui/Consumables/ConsumableHeader.tsx+++ b/apps/carbon/app/modules/items/ui/Consumables/ConsumableHeader.tsx@@ -18,7 +18,7 @@ const ConsumableHeader = () => {);return (- <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border">+ <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border h-[50px]"><VStack spacing={0} className="flex-grow"><HStack><Link to={path.to.consumableDetails(itemId)}>diff --git a/apps/carbon/app/modules/items/ui/Consumables/ConsumableProperties.tsx b/apps/carbon/app/modules/items/ui/Consumables/ConsumableProperties.tsxindex 57ef83d2d0..679c1f08e1 100644--- a/apps/carbon/app/modules/items/ui/Consumables/ConsumableProperties.tsx+++ b/apps/carbon/app/modules/items/ui/Consumables/ConsumableProperties.tsx@@ -130,7 +130,7 @@ const ConsumableProperties = () => {return (<VStackspacing={4}- className="w-96 bg-background h-full overflow-y-auto border-l border-border px-4 py-2 text-sm"+ className="w-96 bg-background h-full overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent border-l border-border px-4 py-2 text-sm"><VStack spacing={2}><HStack className="w-full justify-between">diff --git a/apps/carbon/app/modules/items/ui/Fixtures/FixtureHeader.tsx b/apps/carbon/app/modules/items/ui/Fixtures/FixtureHeader.tsxindex 809fb78c11..1ac847fe1d 100644--- a/apps/carbon/app/modules/items/ui/Fixtures/FixtureHeader.tsx+++ b/apps/carbon/app/modules/items/ui/Fixtures/FixtureHeader.tsx@@ -18,7 +18,7 @@ const FixtureHeader = () => {);return (- <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border">+ <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border h-[50px]"><VStack spacing={0} className="flex-grow"><HStack><Link to={path.to.fixtureDetails(itemId)}>diff --git a/apps/carbon/app/modules/items/ui/Fixtures/FixtureProperties.tsx b/apps/carbon/app/modules/items/ui/Fixtures/FixtureProperties.tsxindex 9d21d8d530..bfbb01a318 100644--- a/apps/carbon/app/modules/items/ui/Fixtures/FixtureProperties.tsx+++ b/apps/carbon/app/modules/items/ui/Fixtures/FixtureProperties.tsx@@ -129,7 +129,7 @@ const FixtureProperties = () => {return (<VStackspacing={4}- className="w-96 bg-background h-full overflow-y-auto border-l border-border px-4 py-2"+ className="w-96 bg-background h-full overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent border-l border-border px-4 py-2 text-sm"><VStack spacing={2}><HStack className="w-full justify-between">diff --git a/apps/carbon/app/modules/items/ui/Materials/MaterialHeader.tsx b/apps/carbon/app/modules/items/ui/Materials/MaterialHeader.tsxindex 4a1f2d9599..d6f6c3bf26 100644--- a/apps/carbon/app/modules/items/ui/Materials/MaterialHeader.tsx+++ b/apps/carbon/app/modules/items/ui/Materials/MaterialHeader.tsx@@ -18,7 +18,7 @@ const MaterialHeader = () => {);return (- <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border">+ <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border h-[50px]"><VStack spacing={0} className="flex-grow"><HStack><Link to={path.to.materialDetails(itemId)}>diff --git a/apps/carbon/app/modules/items/ui/Materials/MaterialProperties.tsx b/apps/carbon/app/modules/items/ui/Materials/MaterialProperties.tsxindex 274282d3a3..06264f4e9e 100644--- a/apps/carbon/app/modules/items/ui/Materials/MaterialProperties.tsx+++ b/apps/carbon/app/modules/items/ui/Materials/MaterialProperties.tsx@@ -131,7 +131,7 @@ const MaterialProperties = () => {return (<VStackspacing={4}- className="w-96 bg-background h-full overflow-y-auto border-l border-border px-4 py-2"+ className="w-96 bg-background h-full overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent border-l border-border px-4 py-2 text-sm"><VStack spacing={2}><HStack className="w-full justify-between">diff --git a/apps/carbon/app/modules/items/ui/Parts/PartHeader.tsx b/apps/carbon/app/modules/items/ui/Parts/PartHeader.tsxindex 90145079ca..087681d834 100644--- a/apps/carbon/app/modules/items/ui/Parts/PartHeader.tsx+++ b/apps/carbon/app/modules/items/ui/Parts/PartHeader.tsx@@ -18,7 +18,7 @@ const PartHeader = () => {);return (- <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border">+ <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border h-[50px]"><VStack spacing={0} className="flex-grow"><HStack><Link to={path.to.partDetails(itemId)}>diff --git a/apps/carbon/app/modules/items/ui/Parts/PartProperties.tsx b/apps/carbon/app/modules/items/ui/Parts/PartProperties.tsxindex 3838f05a12..dd1027365c 100644--- a/apps/carbon/app/modules/items/ui/Parts/PartProperties.tsx+++ b/apps/carbon/app/modules/items/ui/Parts/PartProperties.tsx@@ -135,7 +135,7 @@ const PartProperties = () => {return (<VStackspacing={4}- className="w-96 bg-background h-full overflow-y-auto border-l border-border px-4 py-2"+ className="w-96 bg-background h-full overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent border-l border-border px-4 py-2 text-sm"><VStack spacing={2}><HStack className="w-full justify-between">diff --git a/apps/carbon/app/modules/items/ui/Tools/ToolHeader.tsx b/apps/carbon/app/modules/items/ui/Tools/ToolHeader.tsxindex 0e32bfb4d2..379c0402de 100644--- a/apps/carbon/app/modules/items/ui/Tools/ToolHeader.tsx+++ b/apps/carbon/app/modules/items/ui/Tools/ToolHeader.tsx@@ -16,7 +16,7 @@ const ToolHeader = () => {const routeData = useRouteData<{ toolSummary: Tool }>(path.to.tool(itemId));return (- <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border">+ <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border h-[50px]"><VStack spacing={0} className="flex-grow"><HStack><Link to={path.to.toolDetails(itemId)}>diff --git a/apps/carbon/app/modules/items/ui/Tools/ToolProperties.tsx b/apps/carbon/app/modules/items/ui/Tools/ToolProperties.tsxindex 03cd871031..8d83deb30c 100644--- a/apps/carbon/app/modules/items/ui/Tools/ToolProperties.tsx+++ b/apps/carbon/app/modules/items/ui/Tools/ToolProperties.tsx@@ -130,7 +130,7 @@ const ToolProperties = () => {return (<VStackspacing={4}- className="w-96 bg-background h-full overflow-y-auto border-l border-border px-4 py-2"+ className="w-96 bg-background h-full overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent border-l border-border px-4 py-2 text-sm"><VStack spacing={2}><HStack className="w-full justify-between">diff --git a/apps/carbon/app/modules/production/ui/Jobs/JobHeader.tsx b/apps/carbon/app/modules/production/ui/Jobs/JobHeader.tsxindex 3f13bf52dc..372f1031d8 100644--- a/apps/carbon/app/modules/production/ui/Jobs/JobHeader.tsx+++ b/apps/carbon/app/modules/production/ui/Jobs/JobHeader.tsx@@ -73,7 +73,7 @@ const JobHeader = () => {return (<>- <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border shadow-md">+ <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border h-[50px]"><HStack><Link to={path.to.jobDetails(jobId)}><Heading size="h3" className="flex items-center gap-2">diff --git a/apps/carbon/app/modules/production/ui/Jobs/JobProperties.tsx b/apps/carbon/app/modules/production/ui/Jobs/JobProperties.tsxindex 7ef2954a28..967969e24e 100644--- a/apps/carbon/app/modules/production/ui/Jobs/JobProperties.tsx+++ b/apps/carbon/app/modules/production/ui/Jobs/JobProperties.tsx@@ -127,7 +127,7 @@ const JobProperties = () => {return (<VStackspacing={4}- className="w-96 bg-card h-full overflow-y-auto border-l border-border px-4 py-2 text-sm"+ className="w-96 bg-card h-full overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent border-l border-border px-4 py-2 text-sm"><VStack spacing={4}><HStack className="w-full justify-between">diff --git a/apps/carbon/app/modules/production/ui/Schedule/Kanban/components/ColumnCard.tsx b/apps/carbon/app/modules/production/ui/Schedule/Kanban/components/ColumnCard.tsxindex ef621d8f30..da55f21a34 100644--- a/apps/carbon/app/modules/production/ui/Schedule/Kanban/components/ColumnCard.tsx+++ b/apps/carbon/app/modules/production/ui/Schedule/Kanban/components/ColumnCard.tsx@@ -85,8 +85,8 @@ export function ColumnCard({dragging: isOverlay ? "overlay" : isDragging ? "over" : undefined,})} flex flex-col p-[1px] pt-0`,currentFilters.length > 0- ? "h-[calc(100dvh-135px)]"- : "h-[calc(100dvh-98px)]"+ ? "h-[calc(100ddvh-135px)]"+ : "h-[calc(100ddvh-98px)]")}><CardHeader className="p-4 w-full font-semibold text-left flex flex-row space-between items-center sticky top-0 bg-card z-10 border-b">diff --git a/apps/carbon/app/modules/sales/ui/Quotes/QuoteExplorer.tsx b/apps/carbon/app/modules/sales/ui/Quotes/QuoteExplorer.tsxindex 8945bf39b1..cfd1d74deb 100644--- a/apps/carbon/app/modules/sales/ui/Quotes/QuoteExplorer.tsx+++ b/apps/carbon/app/modules/sales/ui/Quotes/QuoteExplorer.tsx@@ -113,8 +113,11 @@ export default function QuoteExplorer({ methods }: QuoteExplorerProps) {return (<>- <VStack className="w-full h-[calc(100vh-99px)] justify-between">- <VStack className="flex-1 overflow-y-auto" spacing={0}>+ <VStack className="w-full h-[calc(100dvh-99px)] justify-between">+ <VStack+ className="flex-1 overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent"+ spacing={0}+ >{quoteData?.lines && quoteData?.lines?.length > 0 ? (quoteData?.lines.map((line) => (<QuoteLineItemdiff --git a/apps/carbon/app/modules/sales/ui/Quotes/QuoteHeader.tsx b/apps/carbon/app/modules/sales/ui/Quotes/QuoteHeader.tsxindex c3f6d86744..3e2d57d25a 100644--- a/apps/carbon/app/modules/sales/ui/Quotes/QuoteHeader.tsx+++ b/apps/carbon/app/modules/sales/ui/Quotes/QuoteHeader.tsx@@ -66,7 +66,7 @@ const QuoteHeader = () => {return (<>- <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border">+ <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border h-[50px]"><HStack className="w-full justify-between"><HStack><Link to={path.to.quoteDetails(quoteId)}>diff --git a/apps/carbon/app/modules/sales/ui/Quotes/QuoteProperties.tsx b/apps/carbon/app/modules/sales/ui/Quotes/QuoteProperties.tsxindex d9b3c5462e..a02202aae9 100644--- a/apps/carbon/app/modules/sales/ui/Quotes/QuoteProperties.tsx+++ b/apps/carbon/app/modules/sales/ui/Quotes/QuoteProperties.tsx@@ -111,7 +111,7 @@ const QuoteProperties = () => {return (<VStackspacing={4}- className="w-96 bg-card h-full overflow-y-auto border-l border-border px-4 py-2 text-sm"+ className="w-96 bg-card h-full overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent border-l border-border px-4 py-2 text-sm"><VStack spacing={4}><HStack className="w-full justify-between">diff --git a/apps/carbon/app/modules/sales/ui/Quotes/QuoteToOrderModal.tsx b/apps/carbon/app/modules/sales/ui/Quotes/QuoteToOrderModal.tsxindex 1e818ce1eb..77ae331ead 100644--- a/apps/carbon/app/modules/sales/ui/Quotes/QuoteToOrderModal.tsx+++ b/apps/carbon/app/modules/sales/ui/Quotes/QuoteToOrderModal.tsx@@ -263,7 +263,7 @@ const QuoteToOrderDrawer = ({)}/>) : null}- <ScrollArea className="h-[calc(100vh-145px)] flex-grow w-full">+ <ScrollArea className="h-[calc(100dvh-145px)] flex-grow w-full"><LinePricingFormquote={quote}lines={lines}diff --git a/apps/carbon/app/modules/sales/ui/SalesOrder/SalesOrderExplorer.tsx b/apps/carbon/app/modules/sales/ui/SalesOrder/SalesOrderExplorer.tsxindex 573f5d27a6..72d4345253 100644--- a/apps/carbon/app/modules/sales/ui/SalesOrder/SalesOrderExplorer.tsx+++ b/apps/carbon/app/modules/sales/ui/SalesOrder/SalesOrderExplorer.tsx@@ -88,8 +88,11 @@ export default function SalesOrderExplorer() {return (<>- <VStack className="w-full h-[calc(100vh-99px)] justify-between">- <VStack className="flex-1 overflow-y-auto" spacing={0}>+ <VStack className="w-full h-[calc(100dvh-99px)] justify-between">+ <VStack+ className="flex-1 overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent"+ spacing={0}+ >{salesOrderData?.lines && salesOrderData?.lines?.length > 0 ? (salesOrderData?.lines.map((line) => (<SalesOrderLineItemdiff --git a/apps/carbon/app/modules/sales/ui/SalesOrder/SalesOrderHeader.tsx b/apps/carbon/app/modules/sales/ui/SalesOrder/SalesOrderHeader.tsxindex ba56f1492c..eeb05da588 100644--- a/apps/carbon/app/modules/sales/ui/SalesOrder/SalesOrderHeader.tsx+++ b/apps/carbon/app/modules/sales/ui/SalesOrder/SalesOrderHeader.tsx@@ -31,7 +31,7 @@ const SalesOrderHeader = () => {return (<>- <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border">+ <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border h-[50px]"><HStack className="w-full justify-between"><HStack><Link to={path.to.salesOrderDetails(orderId)}>diff --git a/apps/carbon/app/modules/sales/ui/SalesOrder/SalesOrderProperties.tsx b/apps/carbon/app/modules/sales/ui/SalesOrder/SalesOrderProperties.tsxindex 41a1b72995..a066018389 100644--- a/apps/carbon/app/modules/sales/ui/SalesOrder/SalesOrderProperties.tsx+++ b/apps/carbon/app/modules/sales/ui/SalesOrder/SalesOrderProperties.tsx@@ -115,7 +115,7 @@ const SalesOrderProperties = () => {return (<VStackspacing={4}- className="w-96 bg-card h-full overflow-y-auto border-l border-border px-4 py-2 text-sm"+ className="w-96 bg-card h-full overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent border-l border-border px-4 py-2 text-sm"><VStack spacing={4}><HStack className="w-full justify-between">diff --git a/apps/carbon/app/modules/sales/ui/SalesRFQ/SalesRFQExplorer.tsx b/apps/carbon/app/modules/sales/ui/SalesRFQ/SalesRFQExplorer.tsxindex c4c434b860..9796fcf4ad 100644--- a/apps/carbon/app/modules/sales/ui/SalesRFQ/SalesRFQExplorer.tsx+++ b/apps/carbon/app/modules/sales/ui/SalesRFQ/SalesRFQExplorer.tsx@@ -116,8 +116,11 @@ export default function SalesRFQExplorer() {isOverExplorer && "bg-primary/10 border-2 border-dashed border-primary")}>- <VStack className="w-full h-[calc(100vh-99px)] justify-between">- <VStack className="flex-1 overflow-y-auto" spacing={0}>+ <VStack className="w-full h-[calc(100dvh-99px)] justify-between">+ <VStack+ className="flex-1 overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent"+ spacing={0}+ >{(salesRfqData?.lines && salesRfqData?.lines?.length > 0) ||lines.length > 0 ? (lines.map((line) =>diff --git a/apps/carbon/app/modules/sales/ui/SalesRFQ/SalesRFQHeader.tsx b/apps/carbon/app/modules/sales/ui/SalesRFQ/SalesRFQHeader.tsxindex 21413dac3a..ab61dbad0a 100644--- a/apps/carbon/app/modules/sales/ui/SalesRFQ/SalesRFQHeader.tsx+++ b/apps/carbon/app/modules/sales/ui/SalesRFQ/SalesRFQHeader.tsx@@ -43,7 +43,7 @@ const SalesRFQHeader = () => {const statusFetcher = useFetcher<{}>();return (- <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border">+ <div className="flex flex-shrink-0 items-center justify-between px-4 py-2 bg-card border-b border-border h-[50px]"><HStack className="w-full justify-between"><HStack><Link to={path.to.salesRfqDetails(rfqId)}>diff --git a/apps/carbon/app/modules/sales/ui/SalesRFQ/SalesRFQProperties.tsx b/apps/carbon/app/modules/sales/ui/SalesRFQ/SalesRFQProperties.tsxindex 8793aeaeff..682b19522b 100644--- a/apps/carbon/app/modules/sales/ui/SalesRFQ/SalesRFQProperties.tsx+++ b/apps/carbon/app/modules/sales/ui/SalesRFQ/SalesRFQProperties.tsx@@ -95,7 +95,7 @@ const SalesRFQProperties = () => {return (<VStackspacing={4}- className="w-96 bg-background h-full overflow-y-auto border-l border-border px-4 py-2 text-sm"+ className="w-96 bg-background h-full overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent border-l border-border px-4 py-2 text-sm"><VStack spacing={4}><HStack className="w-full justify-between">diff --git a/apps/carbon/app/modules/settings/ui/Integrations/IntegrationForm.tsx b/apps/carbon/app/modules/settings/ui/Integrations/IntegrationForm.tsxindex ae032e88ab..6864c559d0 100644--- a/apps/carbon/app/modules/settings/ui/Integrations/IntegrationForm.tsx+++ b/apps/carbon/app/modules/settings/ui/Integrations/IntegrationForm.tsx@@ -85,7 +85,7 @@ export function IntegrationForm({</VStack></DrawerHeader><DrawerBody>- <ScrollArea className="h-[calc(100vh-240px)]">+ <ScrollArea className="h-[calc(100dvh-240px)]"><VStack spacing={2}><Heading size="h3">How it works</Heading><p className="text-sm text-muted-foreground">diff --git a/apps/carbon/app/routes/x+/_layout.tsx b/apps/carbon/app/routes/x+/_layout.tsxindex c7aec19057..949f215637 100644--- a/apps/carbon/app/routes/x+/_layout.tsx+++ b/apps/carbon/app/routes/x+/_layout.tsx@@ -124,16 +124,16 @@ export default function AuthenticatedRoute() {<CarbonProvider session={session}><RealtimeDataProvider><TooltipProvider>- <div className="min-h-full flex flex-col">+ <div className="h-[100dvh] flex flex-col"><div className="flex-none" /><div className="h-screen min-h-[0px] basis-0 flex-1"><div className="flex h-full"><PrimaryNavigation /><div className="flex w-full h-full"><div className="w-full h-full flex-1 overflow-hidden">- <main className="h-full flex flex-col flex-1 max-w-[100vw] sm:max-w-[calc(100vw-56px)] overflow-x-hidden bg-muted">+ <main className="h-full flex flex-col flex-1 max-w-[100vw] sm:max-w-[calc(100vw-56px)] overflow-hidden bg-muted"><Topbar />- <main className="flex-1 overflow-y-auto max-h-[calc(100vh-49px)]">+ <main className="flex-1 overflow-hidden h-[calc(100dvh-49px)]"><Outlet /></main></main>diff --git a/apps/carbon/app/routes/x+/accounting+/defaults.tsx b/apps/carbon/app/routes/x+/accounting+/defaults.tsxindex d3638fcc4c..e745e01ff6 100644--- a/apps/carbon/app/routes/x+/accounting+/defaults.tsx+++ b/apps/carbon/app/routes/x+/accounting+/defaults.tsx@@ -126,7 +126,7 @@ export default function AccountDefaultsRoute() {}>(path.to.accounting);return (- <VStack className="h-full p-4 overflow-y-auto">+ <VStack className="h-full p-4 overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent"><AccountDefaultsFormbalanceSheetAccounts={routeData?.balanceSheetAccounts ?? []}incomeStatementAccounts={routeData?.incomeStatementAccounts ?? []}diff --git a/apps/carbon/app/routes/x+/api+/_layout.tsx b/apps/carbon/app/routes/x+/api+/_layout.tsxindex e8054c5585..0743facd4f 100644--- a/apps/carbon/app/routes/x+/api+/_layout.tsx+++ b/apps/carbon/app/routes/x+/api+/_layout.tsx@@ -71,7 +71,7 @@ export default function ApiDocsRoute() {</Button></div><GroupedContentSidebar groups={groups} width={270} exactMatch />- <div className="Docs Docs--api-page w-full h-full overflow-y-auto">+ <div className="Docs Docs--api-page w-full h-full overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent"><div className="Docs--inner-wrapper pt-4"><Outlet /></div>diff --git a/apps/carbon/app/routes/x+/consumable+/$itemId.tsx b/apps/carbon/app/routes/x+/consumable+/$itemId.tsxindex 08b5a1c091..1998f99e9a 100644--- a/apps/carbon/app/routes/x+/consumable+/$itemId.tsx+++ b/apps/carbon/app/routes/x+/consumable+/$itemId.tsx@@ -61,10 +61,10 @@ export async function loader({ request, params }: LoaderFunctionArgs) {export default function ConsumableRoute() {return (- <div className="flex flex-col h-[calc(100vh-49px)] w-full">+ <div className="flex flex-col h-[calc(100dvh-49px)] w-full overflow-hidden"><ConsumableHeader />- <div className="flex h-[calc(100vh-99px)] w-full">- <div className="flex h-full w-full overflow-y-auto">+ <div className="flex h-[calc(100dvh-99px)] w-full">+ <div className="flex h-full w-full overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent"><VStack spacing={2} className="p-2 w-full h-full"><Outlet /></VStack>diff --git a/apps/carbon/app/routes/x+/fixture+/$itemId.manufacturing.tsx b/apps/carbon/app/routes/x+/fixture+/$itemId.manufacturing.tsxindex 2e5f45e7c9..75c0b759b7 100644--- a/apps/carbon/app/routes/x+/fixture+/$itemId.manufacturing.tsx+++ b/apps/carbon/app/routes/x+/fixture+/$itemId.manufacturing.tsx@@ -124,7 +124,7 @@ export default function FixtureManufacturing() {defaultSize={20}className="bg-card">- <ScrollArea className="h-[calc(100vh-99px)]">+ <ScrollArea className="h-[calc(100dvh-99px)]"><div className="grid h-full overflow-hidden p-2"><BoMExploreritemType="Fixture"@@ -141,7 +141,7 @@ export default function FixtureManufacturing() {defaultSize={60}className="border-t border-border">- <ScrollArea className="h-[calc(100vh-99px)]">+ <ScrollArea className="h-[calc(100dvh-99px)]"><Outlet key={JSON.stringify(params)} /></ScrollArea></ResizablePanel>diff --git a/apps/carbon/app/routes/x+/fixture+/$itemId.tsx b/apps/carbon/app/routes/x+/fixture+/$itemId.tsxindex 3cf85b75a2..dd2f930f7e 100644--- a/apps/carbon/app/routes/x+/fixture+/$itemId.tsx+++ b/apps/carbon/app/routes/x+/fixture+/$itemId.tsx@@ -64,12 +64,10 @@ export default function FixtureRoute() {useRealtime("modelUpload", `modelPath=eq.${fixtureSummary.modelPath}`);return (- <div className="flex flex-col h-[calc(100vh-49px)] w-full">+ <div className="flex flex-col h-[calc(100dvh-49px)] overflow-hidden w-full"><FixtureHeader />- <div className="flex h-[calc(100vh-99px)] w-full">- <div className="flex h-full w-full overflow-y-auto">- <Outlet />- </div>+ <div className="flex h-[calc(100dvh-99px)] w-full overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent">+ <Outlet /><FixtureProperties /></div></div>diff --git a/apps/carbon/app/routes/x+/inventory+/quantities+/$itemId.tsx b/apps/carbon/app/routes/x+/inventory+/quantities+/$itemId.tsxindex 4662e8f699..4892ab1b9b 100644--- a/apps/carbon/app/routes/x+/inventory+/quantities+/$itemId.tsx+++ b/apps/carbon/app/routes/x+/inventory+/quantities+/$itemId.tsx@@ -118,7 +118,7 @@ export default function ItemInventoryRoute() {minSize={25}className="bg-muted">- <ScrollArea className="h-[calc(100vh-49px)]">+ <ScrollArea className="h-[calc(100dvh-49px)]"><InventoryItemHeaderitemReadableId={item.readableId}// @ts-ignorediff --git a/apps/carbon/app/routes/x+/items+/methods+/materials.tsx b/apps/carbon/app/routes/x+/items+/methods+/materials.tsxindex 9dcb9b3842..7f0d9850d2 100644--- a/apps/carbon/app/routes/x+/items+/methods+/materials.tsx+++ b/apps/carbon/app/routes/x+/items+/methods+/materials.tsx@@ -55,7 +55,7 @@ export default function MethodMaterialsRoute() {const { count, materials } = useLoaderData<typeof loader>();return (- <VStack spacing={0} className="h-[calc(100vh-49px)]">+ <VStack spacing={0} className="h-[calc(100dvh-49px)]"><MethodMaterialsTable data={materials} count={count} /></VStack>);diff --git a/apps/carbon/app/routes/x+/items+/methods+/operations.tsx b/apps/carbon/app/routes/x+/items+/methods+/operations.tsxindex a961ce3b8b..bd553b34a8 100644--- a/apps/carbon/app/routes/x+/items+/methods+/operations.tsx+++ b/apps/carbon/app/routes/x+/items+/methods+/operations.tsx@@ -55,7 +55,7 @@ export default function MethodOperationsRoute() {const { count, operations } = useLoaderData<typeof loader>();return (- <VStack spacing={0} className="h-[calc(100vh-49px)]">+ <VStack spacing={0} className="h-[calc(100dvh-49px)]"><MethodOperationsTable data={operations} count={count} /></VStack>);diff --git a/apps/carbon/app/routes/x+/job+/$jobId.events.tsx b/apps/carbon/app/routes/x+/job+/$jobId.events.tsxindex f5d190117c..7a1d0d3b0e 100644--- a/apps/carbon/app/routes/x+/job+/$jobId.events.tsx+++ b/apps/carbon/app/routes/x+/job+/$jobId.events.tsx@@ -80,7 +80,7 @@ export default function ProductionEventsRoute() {return (<>- <VStack spacing={0} className="h-[calc(100vh-99px)]">+ <VStack spacing={0} className="h-[calc(100dvh-99px)]"><ProductionEventsTabledata={events}count={count}diff --git a/apps/carbon/app/routes/x+/job+/$jobId.materials.tsx b/apps/carbon/app/routes/x+/job+/$jobId.materials.tsxindex 545abde3bf..5301a4b8ce 100644--- a/apps/carbon/app/routes/x+/job+/$jobId.materials.tsx+++ b/apps/carbon/app/routes/x+/job+/$jobId.materials.tsx@@ -64,7 +64,7 @@ export default function JobMaterialsRoute() {const { count, materials } = useLoaderData<typeof loader>();return (- <VStack spacing={0} className="h-[calc(100vh-99px)]">+ <VStack spacing={0} className="h-[calc(100dvh-99px)]"><JobMaterialsTable data={materials} count={count} /></VStack>);diff --git a/apps/carbon/app/routes/x+/job+/$jobId.method.$methodId.tsx b/apps/carbon/app/routes/x+/job+/$jobId.method.$methodId.tsxindex 8c6abea4ea..e3c157a5dc 100644--- a/apps/carbon/app/routes/x+/job+/$jobId.method.$methodId.tsx+++ b/apps/carbon/app/routes/x+/job+/$jobId.method.$methodId.tsx@@ -96,7 +96,7 @@ export default function JobMakeMethodRoute() {const { materials, operations, productionData } = loaderData;return (- <div className="h-[calc(100vh-49px)] w-full items-start overflow-y-auto">+ <div className="h-[calc(100dvh-49px)] w-full items-start overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent"><VStack spacing={2} className="p-2"><JobMakeMethodTools /><JobBillOfProcessdiff --git a/apps/carbon/app/routes/x+/job+/$jobId.operations.tsx b/apps/carbon/app/routes/x+/job+/$jobId.operations.tsxindex abb11575b9..88fb8ce73e 100644--- a/apps/carbon/app/routes/x+/job+/$jobId.operations.tsx+++ b/apps/carbon/app/routes/x+/job+/$jobId.operations.tsx@@ -66,7 +66,7 @@ export default function JobOperationsRoute() {const { count, operations } = useLoaderData<typeof loader>();return (- <VStack spacing={0} className="h-[calc(100vh-99px)]">+ <VStack spacing={0} className="h-[calc(100dvh-99px)]"><JobOperationsTable data={operations} count={count} /></VStack>);diff --git a/apps/carbon/app/routes/x+/job+/$jobId.quantities.tsx b/apps/carbon/app/routes/x+/job+/$jobId.quantities.tsxindex 4300b86bce..d6959b0a37 100644--- a/apps/carbon/app/routes/x+/job+/$jobId.quantities.tsx+++ b/apps/carbon/app/routes/x+/job+/$jobId.quantities.tsx@@ -80,7 +80,7 @@ export default function ProductionQuantitiesRoute() {return (<>- <VStack spacing={0} className="h-[calc(100vh-99px)]">+ <VStack spacing={0} className="h-[calc(100dvh-99px)]"><ProductionQuantitiesTabledata={events}count={count}diff --git a/apps/carbon/app/routes/x+/job+/$jobId.tsx b/apps/carbon/app/routes/x+/job+/$jobId.tsxindex 6229cd91bb..f673444849 100644--- a/apps/carbon/app/routes/x+/job+/$jobId.tsx+++ b/apps/carbon/app/routes/x+/job+/$jobId.tsx@@ -6,7 +6,6 @@ import {ResizableHandle,ResizablePanel,ResizablePanelGroup,- ScrollArea,} from "@carbon/react";import {Await,@@ -75,59 +74,55 @@ export default function JobRoute() {const { method } = useLoaderData<typeof loader>();return (- <div className="flex flex-col h-[calc(100vh-49px)] w-full">+ <div className="flex flex-col h-[calc(100dvh-49px)] overflow-hidden w-full"><JobHeader />- <div className="flex h-[calc(100vh-99px)] w-full">- <div className="flex h-full w-full overflow-y-auto">- <div className="flex flex-grow overflow-hidden">- <ClientOnly fallback={null}>- {() => (- <ResizablePanelGroup direction="horizontal">- <ResizablePanel- order={1}- minSize={10}- defaultSize={20}- className="bg-card h-full shadow-lg"- >- <ScrollArea className="h-[calc(100vh-99px)]">- <div className="grid w-full h-full overflow-hidden p-2">- <Suspense fallback={<ExplorerSkeleton />}>- <Await- resolve={method}- errorElement={- <div className="p-2 text-red-500">- Error loading job tree.- </div>+ <div className="flex h-[calc(100dvh-99px)] overflow-hidden w-full">+ <div className="flex flex-grow overflow-hidden">+ <ClientOnly fallback={null}>+ {() => (+ <ResizablePanelGroup direction="horizontal">+ <ResizablePanel+ order={1}+ minSize={10}+ defaultSize={20}+ className="bg-card shadow-lg"+ >+ <div className="grid w-full h-[calc(100dvh-99px)] overflow-hidden p-2">+ <Suspense fallback={<ExplorerSkeleton />}>+ <Await+ resolve={method}+ errorElement={+ <div className="p-2 text-red-500">+ Error loading job tree.+ </div>+ }+ >+ {(resolvedMethod) => (+ <JobBoMExplorer+ method={+ resolvedMethod.data &&+ resolvedMethod.data.length > 0+ ? flattenTree(resolvedMethod.data[0])+ : []}- >- {(resolvedMethod) => (- <JobBoMExplorer- method={- resolvedMethod.data &&- resolvedMethod.data.length > 0- ? flattenTree(resolvedMethod.data[0])- : []- }- />- )}- </Await>- </Suspense>- </div>- </ScrollArea>- </ResizablePanel>- <ResizableHandle withHandle />- <ResizablePanel order={2}>- <div className="flex h-[calc(100vh-99px)] w-full">- <ScrollArea className="h-[calc(100vh-99px)] w-full">- <Outlet />- </ScrollArea>- <JobProperties />+ />+ )}+ </Await>+ </Suspense>+ </div>+ </ResizablePanel>+ <ResizableHandle withHandle />+ <ResizablePanel order={2} className="z-1">+ <div className="flex h-[calc(100dvh-99px)] overflow-hidden w-full">+ <div className="h-[calc(100dvh-99px)] overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent w-full">+ <Outlet /></div>- </ResizablePanel>- </ResizablePanelGroup>- )}- </ClientOnly>- </div>+ <JobProperties />+ </div>+ </ResizablePanel>+ </ResizablePanelGroup>+ )}+ </ClientOnly></div></div></div>diff --git a/apps/carbon/app/routes/x+/material+/$itemId.tsx b/apps/carbon/app/routes/x+/material+/$itemId.tsxindex 8c10041056..a70abee5c9 100644--- a/apps/carbon/app/routes/x+/material+/$itemId.tsx+++ b/apps/carbon/app/routes/x+/material+/$itemId.tsx@@ -61,10 +61,10 @@ export async function loader({ request, params }: LoaderFunctionArgs) {export default function MaterialRoute() {return (- <div className="flex flex-col h-[calc(100vh-49px)] w-full">+ <div className="flex flex-col h-[calc(100dvh-49px)] w-full"><MaterialHeader />- <div className="flex h-[calc(100vh-99px)] w-full">- <div className="flex h-full w-full overflow-y-auto">+ <div className="flex h-[calc(100dvh-99px)] w-full">+ <div className="flex h-full w-full overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent"><VStack spacing={2} className="p-2 w-full h-full"><Outlet /></VStack>diff --git a/apps/carbon/app/routes/x+/part+/$itemId.manufacturing.tsx b/apps/carbon/app/routes/x+/part+/$itemId.manufacturing.tsxindex 8b4a92cb26..3d712068a7 100644--- a/apps/carbon/app/routes/x+/part+/$itemId.manufacturing.tsx+++ b/apps/carbon/app/routes/x+/part+/$itemId.manufacturing.tsx@@ -126,7 +126,7 @@ export default function PartManufacturing() {defaultSize={20}className="bg-card">- <ScrollArea className="h-[calc(100vh-99px)]">+ <ScrollArea className="h-[calc(100dvh-99px)]"><div className="grid h-full overflow-hidden p-2"><BoMExploreritemType="Part"@@ -143,7 +143,7 @@ export default function PartManufacturing() {defaultSize={60}className="border-t border-border">- <ScrollArea className="h-[calc(100vh-99px)]">+ <ScrollArea className="h-[calc(100dvh-99px)]"><Outlet key={JSON.stringify(params)} /></ScrollArea></ResizablePanel>diff --git a/apps/carbon/app/routes/x+/part+/$itemId.tsx b/apps/carbon/app/routes/x+/part+/$itemId.tsxindex 2492e3e660..d86842c98d 100644--- a/apps/carbon/app/routes/x+/part+/$itemId.tsx+++ b/apps/carbon/app/routes/x+/part+/$itemId.tsx@@ -64,10 +64,10 @@ export default function PartRoute() {useRealtime("modelUpload", `modelPath=eq.${partSummary.modelPath}`);return (- <div className="flex flex-col h-[calc(100vh-49px)] w-full">+ <div className="flex flex-col h-[calc(100dvh-49px)] overflow-hidden w-full"><PartHeader />- <div className="flex h-[calc(100vh-99px)] w-full">- <div className="flex h-full w-full overflow-y-auto">+ <div className="flex h-[calc(100dvh-99px)] w-full">+ <div className="flex h-full w-full overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent"><Outlet /></div><PartProperties />diff --git a/apps/carbon/app/routes/x+/quote+/$quoteId.tsx b/apps/carbon/app/routes/x+/quote+/$quoteId.tsxindex 11e2b9073d..bbd00a733c 100644--- a/apps/carbon/app/routes/x+/quote+/$quoteId.tsx+++ b/apps/carbon/app/routes/x+/quote+/$quoteId.tsx@@ -6,7 +6,6 @@ import {ResizableHandle,ResizablePanel,ResizablePanelGroup,- ScrollArea,VStack,} from "@carbon/react";import { Outlet, useLoaderData, useParams } from "@remix-run/react";@@ -119,43 +118,38 @@ export default function QuoteRoute() {const { methods } = useLoaderData<typeof loader>();return (- <div className="flex flex-col h-[calc(100vh-49px)] w-full">+ <div className="flex flex-col h-[calc(100dvh-49px)] overflow-hidden w-full"><QuoteHeader />- <div className="flex h-[calc(100vh-99px)] w-full">- <div className="flex h-full w-full overflow-y-auto">- <div className="flex flex-grow overflow-hidden">- <ClientOnly fallback={null}>- {() => (- <ResizablePanelGroup direction="horizontal">- <ResizablePanel- order={1}- minSize={10}- defaultSize={20}- className="bg-card h-full shadow-lg"- >- <ScrollArea className="h-[calc(100vh-99px)]">- <div className="grid w-full h-full overflow-hidden">- <QuoteExplorer methods={methods} />- </div>- </ScrollArea>- </ResizablePanel>- <ResizableHandle withHandle />- <ResizablePanel order={2} className="z-1">- <div className="flex h-[calc(100vh-99px)] w-full">- <div className="flex h-full w-full overflow-y-auto">- <ScrollArea className="h-[calc(100vh-99px)] w-full">- <VStack spacing={2} className="p-2">- <Outlet />- </VStack>- </ScrollArea>- </div>- <QuoteProperties />+ <div className="flex h-[calc(100dvh-99px)] overflow-hidden w-full">+ <div className="flex flex-grow overflow-hidden">+ <ClientOnly fallback={null}>+ {() => (+ <ResizablePanelGroup direction="horizontal">+ <ResizablePanel+ order={1}+ minSize={10}+ defaultSize={20}+ className="bg-card shadow-lg"+ >+ <div className="grid w-full h-[calc(100dvh-99px)] overflow-hidden">+ <QuoteExplorer methods={methods} />+ </div>+ </ResizablePanel>+ <ResizableHandle withHandle />+ <ResizablePanel order={2} className="z-1">+ <div className="flex h-[calc(100dvh-99px)] overflow-hidden w-full">+ <div className="h-[calc(100dvh-99px)] overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent w-full">+ <VStack spacing={2} className="p-2">+ <Outlet />+ </VStack></div>- </ResizablePanel>- </ResizablePanelGroup>- )}- </ClientOnly>- </div>++ <QuoteProperties />+ </div>+ </ResizablePanel>+ </ResizablePanelGroup>+ )}+ </ClientOnly></div></div></div>diff --git a/apps/carbon/app/routes/x+/sales-order+/$orderId.tsx b/apps/carbon/app/routes/x+/sales-order+/$orderId.tsxindex 415fe380be..15d831aea2 100644--- a/apps/carbon/app/routes/x+/sales-order+/$orderId.tsx+++ b/apps/carbon/app/routes/x+/sales-order+/$orderId.tsx@@ -75,10 +75,10 @@ export default function SalesOrderRoute() {if (!orderId) throw new Error("Could not find orderId");return (- <div className="flex flex-col h-[calc(100vh-49px)] w-full">+ <div className="flex flex-col h-[calc(100dvh-49px)] w-full"><SalesOrderHeader />- <div className="flex h-[calc(100vh-99px)] w-full">- <div className="flex h-full w-full overflow-y-auto">+ <div className="flex h-[calc(100dvh-99px)] w-full">+ <div className="flex h-full w-full overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent"><div className="flex flex-grow overflow-hidden"><ClientOnly fallback={null}>{() => (@@ -89,7 +89,7 @@ export default function SalesOrderRoute() {defaultSize={20}className="bg-card h-full shadow-lg">- <ScrollArea className="h-[calc(100vh-99px)]">+ <ScrollArea className="h-[calc(100dvh-99px)]"><div className="grid w-full h-full overflow-hidden"><SalesOrderExplorer /></div>@@ -97,13 +97,11 @@ export default function SalesOrderRoute() {</ResizablePanel><ResizableHandle withHandle /><ResizablePanel order={2}>- <div className="flex h-[calc(100vh-99px)] w-full">- <div className="flex h-full w-full overflow-y-auto">- <ScrollArea className="h-[calc(100vh-99px)] w-full">- <VStack spacing={2} className="p-2">- <Outlet />- </VStack>- </ScrollArea>+ <div className="flex h-[calc(100dvh-99px)] w-full">+ <div className="flex h-full w-full overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent">+ <VStack spacing={2} className="p-2">+ <Outlet />+ </VStack></div><SalesOrderProperties /></div>diff --git a/apps/carbon/app/routes/x+/sales-rfq+/$rfqId.tsx b/apps/carbon/app/routes/x+/sales-rfq+/$rfqId.tsxindex dadb4b70be..598386ed2d 100644--- a/apps/carbon/app/routes/x+/sales-rfq+/$rfqId.tsx+++ b/apps/carbon/app/routes/x+/sales-rfq+/$rfqId.tsx@@ -3,7 +3,6 @@ import {ResizableHandle,ResizablePanel,ResizablePanelGroup,- ScrollArea,supportedModelTypes,VStack,type JSONContent,@@ -149,10 +148,10 @@ export default function SalesRFQRoute() {return (<DndContext onDragEnd={handleDragEnd}>- <div className="flex flex-col h-[calc(100vh-49px)] w-full">+ <div className="flex flex-col h-[calc(100dvh-49px)] w-full"><SalesRFQHeader />- <div className="flex h-[calc(100vh-99px)] w-full">- <div className="flex h-full w-full overflow-y-auto">+ <div className="flex h-[calc(100dvh-99px)] w-full">+ <div className="flex h-full w-full overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent"><div className="flex flex-grow overflow-hidden"><ClientOnly fallback={null}>{() => (@@ -163,21 +162,17 @@ export default function SalesRFQRoute() {defaultSize={20}className="bg-card h-full z-0 shadow-lg">- <ScrollArea className="h-[calc(100vh-99px)]">- <div className="grid w-full h-full overflow-hidden">- <SalesRFQExplorer />- </div>- </ScrollArea>+ <div className="grid w-full h-full overflow-hidden">+ <SalesRFQExplorer />+ </div></ResizablePanel><ResizableHandle withHandle /><ResizablePanel order={2} className="z-1">- <div className="flex h-[calc(100vh-99px)] w-full">- <div className="flex h-full w-full overflow-y-auto">- <ScrollArea className="h-[calc(100vh-99px)] w-full">- <VStack spacing={2} className="p-2">- <Outlet />- </VStack>- </ScrollArea>+ <div className="flex h-[calc(100dvh-99px)] w-full">+ <div className="flex h-full w-full overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent">+ <VStack spacing={2} className="p-2">+ <Outlet />+ </VStack></div><SalesRFQProperties /></div>diff --git a/apps/carbon/app/routes/x+/settings+/logos.tsx b/apps/carbon/app/routes/x+/settings+/logos.tsxindex c2dfb745cb..4ce44d2264 100644--- a/apps/carbon/app/routes/x+/settings+/logos.tsx+++ b/apps/carbon/app/routes/x+/settings+/logos.tsx@@ -70,7 +70,7 @@ export default function LogosRoute() {if (!company) throw new Error("Company not found");return (- <ScrollArea className="w-full h-[calc(100vh-49px)]">+ <ScrollArea className="w-full h-[calc(100dvh-49px)]"><VStack spacing={2} className="p-2 h-full"><Card><CardHeader>diff --git a/apps/carbon/app/routes/x+/settings+/sales.tsx b/apps/carbon/app/routes/x+/settings+/sales.tsxindex 5cb42280c3..7fd9067b24 100644--- a/apps/carbon/app/routes/x+/settings+/sales.tsx+++ b/apps/carbon/app/routes/x+/settings+/sales.tsx@@ -81,7 +81,7 @@ export default function SalesSettingsRoute() {}, [fetcher.data?.message, fetcher.data?.success]);return (- <ScrollArea className="w-full h-[calc(100vh-49px)]">+ <ScrollArea className="w-full h-[calc(100dvh-49px)]"><VStack spacing={2} className="p-2 h-full"><Card><ValidatedFormdiff --git a/apps/carbon/app/routes/x+/tool+/$itemId.tsx b/apps/carbon/app/routes/x+/tool+/$itemId.tsxindex 104419c6f4..43cbd30f86 100644--- a/apps/carbon/app/routes/x+/tool+/$itemId.tsx+++ b/apps/carbon/app/routes/x+/tool+/$itemId.tsx@@ -60,10 +60,10 @@ export async function loader({ request, params }: LoaderFunctionArgs) {export default function ToolRoute() {return (- <div className="flex flex-col h-[calc(100vh-49px)] w-full">+ <div className="flex flex-col h-[calc(100dvh-49px)] overflow-hidden w-full"><ToolHeader />- <div className="flex h-[calc(100vh-99px)] w-full">- <div className="flex h-full w-full overflow-y-auto">+ <div className="flex h-[calc(100dvh-99px)] w-full">+ <div className="flex h-full w-full overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent"><VStack spacing={2} className="p-2 w-full h-full"><Outlet /></VStack>diff --git a/apps/carbon/app/styles/tailwind.css b/apps/carbon/app/styles/tailwind.cssindex 754fa551e1..6cc5e3d18d 100644--- a/apps/carbon/app/styles/tailwind.css+++ b/apps/carbon/app/styles/tailwind.css@@ -5,6 +5,15 @@@tailwind components;@tailwind utilities;+/* Chrome, Edge, and Safari */+*::-webkit-scrollbar {+ width: 8px;+}++*::-webkit-scrollbar-track {+ background: transparent;+}+@layer base {:root {--background: 0 0% 100%;diff --git a/apps/mes/app/components/JobOperation.tsx b/apps/mes/app/components/JobOperation.tsxindex 2703f3cae7..eb8923b366 100644--- a/apps/mes/app/components/JobOperation.tsx+++ b/apps/mes/app/components/JobOperation.tsx@@ -211,7 +211,7 @@ export const JobOperation = ({</div><Separator />- <div className="flex items-center justify-start px-4 py-2 h-[var(--header-height)] bg-background gap-4 w-full overflow-y-auto">+ <div className="flex items-center justify-start px-4 py-2 h-[var(--header-height)] bg-background gap-4 w-full overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent">{operation.description && (<HStack className="justify-start space-x-2"><LuClipboardCheck className="text-muted-foreground" />@@ -274,7 +274,7 @@ export const JobOperation = ({<Separator className="flex md:hidden" /><TabsContent value="details" className="flex flex-col">- <ScrollArea className="w-full h-[calc(100vh-var(--header-height)*2-var(--controls-height)-2rem)] overflow-y-auto">+ <ScrollArea className="w-full h-[calc(100dvh-var(--header-height)*2-var(--controls-height)-2rem)] overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent"><div className="flex items-start justify-between p-4"><HStack>{thumbnailPath && (@@ -467,7 +467,7 @@ export const JobOperation = ({</ScrollArea></TabsContent><TabsContent value="model">- <div className="w-full h-[calc(100vh-var(--header-height)*2-var(--controls-height))] p-0">+ <div className="w-full h-[calc(100dvh-var(--header-height)*2-var(--controls-height))] p-0"><ModelViewerfile={null}key={operation.itemModelPath ?? job.modelPath}@@ -480,7 +480,7 @@ export const JobOperation = ({</div></TabsContent><TabsContent value="instructions" className="flex flex-grow">- <ScrollArea className="w-full h-[calc(100vh-var(--header-height)*2-var(--controls-height)-2rem)] overflow-y-auto p-4">+ <ScrollArea className="w-full h-[calc(100dvh-var(--header-height)*2-var(--controls-height)-2rem)] overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent p-4"><divclassName="prose dark:prose-invert"dangerouslySetInnerHTML={{diff --git a/apps/mes/app/components/OperationsList.tsx b/apps/mes/app/components/OperationsList.tsxindex 40956bc552..dc9395f831 100644--- a/apps/mes/app/components/OperationsList.tsx+++ b/apps/mes/app/components/OperationsList.tsx@@ -44,7 +44,7 @@ export function OperationsList({const { operationId } = useParams();return operations.length > 0 ? (- <ScrollArea className="h-[calc(100vh-120px)]">+ <ScrollArea className="h-[calc(100dvh-120px)]"><div className="flex flex-col gap-2">{operations.map((operation) => (<OperationCard@@ -57,7 +57,7 @@ export function OperationsList({</div></ScrollArea>) : (- <div className="flex flex-col w-full h-[calc(100vh-120px)] items-center justify-center gap-4">+ <div className="flex flex-col w-full h-[calc(100dvh-120px)] items-center justify-center gap-4"><div className="flex justify-center items-center h-12 w-12 rounded-full bg-foreground text-background"><LuAlertTriangle className="h-6 w-6" /></div>diff --git a/apps/mes/app/routes/x+/_layout.tsx b/apps/mes/app/routes/x+/_layout.tsxindex 552f9b70ff..c6da102a32 100644--- a/apps/mes/app/routes/x+/_layout.tsx+++ b/apps/mes/app/routes/x+/_layout.tsx@@ -197,7 +197,7 @@ export default function AuthenticatedRoute() {/></div></div>- <div className="flex flex-col h-[calc(100%-52px)] justify-between overflow-y-auto bg-background">+ <div className="flex flex-col h-[calc(100%-52px)] justify-between overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent bg-background"><div className="flex flex-col"><Separator /><Navdiff --git a/packages/react/src/Combobox.tsx b/packages/react/src/Combobox.tsxindex 54bf46339c..7fae42ae2b 100644--- a/packages/react/src/Combobox.tsx+++ b/packages/react/src/Combobox.tsx@@ -181,7 +181,7 @@ function VirtualizedCommand({/><divref={parentRef}- className="overflow-auto pt-1"+ className="overflow-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent pt-1"style={{height: `${Math.min(filteredOptions.length, 6) * itemHeight + 4}px`,}}diff --git a/packages/react/src/Command.tsx b/packages/react/src/Command.tsxindex 529a9123c9..0dc3e7e4ca 100644--- a/packages/react/src/Command.tsx+++ b/packages/react/src/Command.tsx@@ -91,7 +91,10 @@ const CommandList = forwardRef<>(({ className, ...props }, ref) => (<CommandPrimitive.Listref={ref}- className={cn("max-h-[300px] overflow-y-auto overflow-x-hidden", className)}+ className={cn(+ "max-h-[300px] overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent overflow-x-hidden",+ className+ )}{...props}/>));diff --git a/packages/react/src/CreateableCombobox.tsx b/packages/react/src/CreateableCombobox.tsxindex 3239d96a54..cf3f9be2b6 100644--- a/packages/react/src/CreateableCombobox.tsx+++ b/packages/react/src/CreateableCombobox.tsx@@ -215,7 +215,7 @@ function VirtualizedCommand({/><divref={parentRef}- className="overflow-auto pt-1"+ className="overflow-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent pt-1"style={{height: `${Math.min(filteredOptions.length, 6) * itemHeight + 4}px`,}}diff --git a/packages/react/src/Drawer.tsx b/packages/react/src/Drawer.tsxindex a497679d89..36407393d1 100644--- a/packages/react/src/Drawer.tsx+++ b/packages/react/src/Drawer.tsx@@ -63,7 +63,7 @@ const DrawerBody = ({}: HTMLAttributes<HTMLDivElement>) => (<divclassName={cn(- "flex flex-col flex-1 items-start justify-start overflow-y-auto w-full px-6 py-4",+ "flex flex-col flex-1 items-start justify-start overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent w-full px-6 py-4",className)}{...props}diff --git a/packages/react/src/Modal.tsx b/packages/react/src/Modal.tsxindex 7c27c88cc6..fb7d63a84d 100644--- a/packages/react/src/Modal.tsx+++ b/packages/react/src/Modal.tsx@@ -32,7 +32,7 @@ const ModalOverlay = forwardRef<// 'z-50 fixed h-full w-full left-0 top-0',// 'bg-alternative/90 backdrop-blur-sm data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0',"bg-alternative/90 backdrop-blur-sm",- "z-50 fixed inset-0 grid place-items-center overflow-y-auto data-open:animate-overlay-show data-closed:animate-overlay-hide",+ "z-50 fixed inset-0 grid place-items-center overflow-y-auto scrollbar-thin scrollbar-track-transparent scrollbar-thumb-accent data-open:animate-overlay-show data-closed:animate-overlay-hide",className)}{...props}diff --git a/packages/react/src/Sidebar.tsx b/packages/react/src/Sidebar.tsxindex 9bae374397..7be2db0ea1 100644--- a/packages/react/src/Sidebar.tsx+++ b/packages/react/src/Sidebar.tsx@@ -324,7 +324,7 @@ const SidebarInset = React.forwardRef<ref={ref}className={cn("relative flex min-h-svh flex-1 flex-col bg-background",- "peer-data-[variant=inset]:min-h-[calc(100svh-theme(spacing.4))] md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",+ "peer-data-[variant=inset]:min-h-[calc(100sdvh-theme(spacing.4))] md:peer-data-[variant=inset]:m-2 md:peer-data-[state=collapsed]:peer-data-[variant=inset]:ml-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow",className)}{...props}