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
refactor(mobile): hover-revealed controls use md:opacity-0 instead of a phone opacity patch
aashud8010e040794
diff --git a/apps/erp/app/components/DocumentLineEditor/DocumentLineRow.tsx b/apps/erp/app/components/DocumentLineEditor/DocumentLineRow.tsxindex 9c47dd313a..20018c5818 100644--- a/apps/erp/app/components/DocumentLineEditor/DocumentLineRow.tsx+++ b/apps/erp/app/components/DocumentLineEditor/DocumentLineRow.tsx@@ -137,7 +137,7 @@ const DocumentLineRow = ({variant="ghost"onClick={onDelete}isDisabled={!canDelete}- className="size-8 p-0 text-muted-foreground opacity-0 transition-opacity hover:text-destructive group-hover:opacity-100 disabled:opacity-0 max-md:opacity-100"+ className="size-8 p-0 text-muted-foreground md:opacity-0 transition-opacity hover:text-destructive group-hover:opacity-100 disabled:opacity-0"/>)}</div>diff --git a/apps/erp/app/components/DocumentTemplateEditor/BlockList.tsx b/apps/erp/app/components/DocumentTemplateEditor/BlockList.tsxindex 589b684956..791fd00d42 100644--- a/apps/erp/app/components/DocumentTemplateEditor/BlockList.tsx+++ b/apps/erp/app/components/DocumentTemplateEditor/BlockList.tsx@@ -374,7 +374,7 @@ function BlockRow({ id }: { id: string }) {>{/* Type icon normally; grip on hover to signal draggability. */}<span className="group-hover:opacity-0">{blockIcon(block.type)}</span>- <span className="absolute inset-0 opacity-0 group-hover:opacity-100 max-md:opacity-100">+ <span className="absolute inset-0 md:opacity-0 group-hover:opacity-100"><LuGripVertical className="size-4" /></span></button>@@ -402,7 +402,7 @@ function BlockRow({ id }: { id: string }) {e.stopPropagation();removeBlock(id);}}- className="rounded p-1 text-muted-foreground opacity-0 transition-[opacity,color] hover:text-destructive group-hover:opacity-100 max-md:opacity-100"+ className="rounded p-1 text-muted-foreground md:opacity-0 transition-[opacity,color] hover:text-destructive group-hover:opacity-100"><LuTrash2 className="size-4" /></button>@@ -491,7 +491,7 @@ function NestedBlockRow({ id }: { id: string }) {e.stopPropagation();removeBlock(id);}}- className="rounded p-1 text-muted-foreground opacity-0 transition-[opacity,color] hover:text-destructive group-hover:opacity-100 max-md:opacity-100"+ className="rounded p-1 text-muted-foreground md:opacity-0 transition-[opacity,color] hover:text-destructive group-hover:opacity-100"><LuTrash2 className="size-4" /></button>diff --git a/apps/erp/app/components/EditableNumberCell.tsx b/apps/erp/app/components/EditableNumberCell.tsxindex 06d2c9894e..325db4968f 100644--- a/apps/erp/app/components/EditableNumberCell.tsx+++ b/apps/erp/app/components/EditableNumberCell.tsx@@ -72,7 +72,7 @@ function EditableNumberCell({className="group/edit flex w-full cursor-pointer items-center gap-1.5 text-left text-sm"><span>{display}</span>- <LuPencil className="size-3 shrink-0 text-muted-foreground opacity-0 transition-opacity group-hover/edit:opacity-100 max-md:opacity-100" />+ <LuPencil className="size-3 shrink-0 text-muted-foreground md:opacity-0 transition-opacity group-hover/edit:opacity-100" /></button>);}diff --git a/apps/erp/app/components/Gantt/Gantt.tsx b/apps/erp/app/components/Gantt/Gantt.tsxindex 040ed2a645..026623e4c8 100644--- a/apps/erp/app/components/Gantt/Gantt.tsx+++ b/apps/erp/app/components/Gantt/Gantt.tsx@@ -1202,7 +1202,7 @@ function SpanWithDuration({<divclassName={cn("sticky left-0 z-10 transition group-hover:opacity-100",- !showDuration && "opacity-0 max-md:opacity-100"+ !showDuration && "md:opacity-0")}><div className="rounded-sm bg-black/40 px-1 py-0.5 text-xxs font-medium text-white tabular-nums">diff --git a/apps/erp/app/components/Hyperlink.tsx b/apps/erp/app/components/Hyperlink.tsxindex 0f6ac2e23f..4a5c3d7397 100644--- a/apps/erp/app/components/Hyperlink.tsx+++ b/apps/erp/app/components/Hyperlink.tsx@@ -40,7 +40,7 @@ const Hyperlink = ({// click navigates in-tab, a Cmd/Ctrl (or middle) click opens a new tab.// A real <button> here would otherwise swallow the anchor's native// modifier-click behavior and always open in the same tab.- className="flex-shrink-0 opacity-0 transition-opacity duration-200 group-hover/hyperlink:opacity-100 no-underline pointer-events-none max-md:hidden max-md:opacity-100"+ className="flex-shrink-0 md:opacity-0 transition-opacity duration-200 group-hover/hyperlink:opacity-100 no-underline pointer-events-none max-md:hidden"size="sm"tabIndex={-1}>diff --git a/apps/erp/app/components/Icons.tsx b/apps/erp/app/components/Icons.tsxindex 08baa24ad0..2f7e3fe05d 100644--- a/apps/erp/app/components/Icons.tsx+++ b/apps/erp/app/components/Icons.tsx@@ -181,7 +181,7 @@ export function MethodBadge({ type, text, to, className }: MethodBadgeProps) {<MethodIcon type={type} className="w-3 h-3 mr-1 " />{text}</Badge>- <span className="group-hover:opacity-100 opacity-0 transition-opacity duration-200 w-4 h-4 text-foreground max-md:opacity-100">+ <span className="group-hover:opacity-100 md:opacity-0 transition-opacity duration-200 w-4 h-4 text-foreground"><LuExternalLink /></span></PrefetchLink>diff --git a/apps/erp/app/components/Layout/Navigation/GroupedContentSidebar.tsx b/apps/erp/app/components/Layout/Navigation/GroupedContentSidebar.tsxindex a0c66c1f57..39b227f803 100644--- a/apps/erp/app/components/Layout/Navigation/GroupedContentSidebar.tsx+++ b/apps/erp/app/components/Layout/Navigation/GroupedContentSidebar.tsx@@ -332,7 +332,7 @@ const ViewsReorderGroup = ({icon={<LuGripVertical />}variant="ghost"size="sm"- className="flex-shrink-0 opacity-0 group-hover/view:opacity-100 absolute left-1 max-md:opacity-100"+ className="flex-shrink-0 md:opacity-0 group-hover/view:opacity-100 absolute left-1"/><DropdownMenu><DropdownMenuTrigger asChild>@@ -341,7 +341,7 @@ const ViewsReorderGroup = ({icon={<LuEllipsisVertical />}variant="ghost"size="sm"- className="absolute right-1 flex-shrink-0 opacity-0 group-hover/view:opacity-100 data-[state=open]:opacity-100 text-foreground/70 hover:text-foreground max-md:opacity-100"+ className="absolute right-1 flex-shrink-0 md:opacity-0 group-hover/view:opacity-100 data-[state=open]:opacity-100 text-foreground/70 hover:text-foreground"/></DropdownMenuTrigger><DropdownMenuContent>diff --git a/apps/erp/app/components/Layout/Navigation/HiddenModulesPopover.tsx b/apps/erp/app/components/Layout/Navigation/HiddenModulesPopover.tsxindex fbebd4482f..3ac172b0bb 100644--- a/apps/erp/app/components/Layout/Navigation/HiddenModulesPopover.tsx+++ b/apps/erp/app/components/Layout/Navigation/HiddenModulesPopover.tsx@@ -38,7 +38,7 @@ export function HiddenModulesPopover({className={cn("min-w-[128px] text-sm","absolute left-7 group-data-[state=expanded]:left-12",- "opacity-0 group-data-[state=expanded]:opacity-100 max-md:opacity-100"+ "md:opacity-0 group-data-[state=expanded]:opacity-100")}>Add modulediff --git a/apps/erp/app/components/Layout/Navigation/NavigationEditBar.tsx b/apps/erp/app/components/Layout/Navigation/NavigationEditBar.tsxindex 791569a5ca..023a3d8f4e 100644--- a/apps/erp/app/components/Layout/Navigation/NavigationEditBar.tsx+++ b/apps/erp/app/components/Layout/Navigation/NavigationEditBar.tsx@@ -22,7 +22,7 @@ export function NavigationEditBar({<divclassName={cn("flex gap-1 px-2",- "opacity-0 group-data-[state=expanded]:opacity-100 max-md:opacity-100",+ "md:opacity-0 group-data-[state=expanded]:opacity-100","transition-opacity")}>diff --git a/apps/erp/app/components/Layout/Navigation/SortableNavItem.tsx b/apps/erp/app/components/Layout/Navigation/SortableNavItem.tsxindex 8241be3184..a27e6e0436 100644--- a/apps/erp/app/components/Layout/Navigation/SortableNavItem.tsx+++ b/apps/erp/app/components/Layout/Navigation/SortableNavItem.tsx@@ -46,7 +46,7 @@ export function SortableNavItem({<divclassName={cn("absolute left-0 top-0 h-full flex items-center pl-1",- "opacity-0 group-data-[state=expanded]:opacity-100 max-md:opacity-100",+ "md:opacity-0 group-data-[state=expanded]:opacity-100","cursor-grab active:cursor-grabbing")}{...attributes}@@ -63,7 +63,7 @@ export function SortableNavItem({className={cn("min-w-[128px] text-sm","absolute left-12 group-data-[state=expanded]:left-16",- "opacity-0 group-data-[state=expanded]:opacity-100 max-md:opacity-100"+ "md:opacity-0 group-data-[state=expanded]:opacity-100")}>{module.name}@@ -75,7 +75,7 @@ export function SortableNavItem({onClick={() => onToggleHidden(module.key)}className={cn("absolute right-2 top-2.5 p-0.5 rounded",- "opacity-0 group-data-[state=expanded]:opacity-100 max-md:opacity-100",+ "md:opacity-0 group-data-[state=expanded]:opacity-100","text-muted-foreground hover:text-foreground","transition-opacity")}diff --git a/apps/erp/app/components/Layout/Topbar/Search.tsx b/apps/erp/app/components/Layout/Topbar/Search.tsxindex 7efbcde0f3..da839c3632 100644--- a/apps/erp/app/components/Layout/Topbar/Search.tsx+++ b/apps/erp/app/components/Layout/Topbar/Search.tsx@@ -340,7 +340,7 @@ export const SearchModal = () => {<buttontype="button"onClick={(e) => removeRecentSearch(result.to, e)}- className="flex-shrink-0 p-1 rounded hover:bg-muted opacity-0 group-hover:opacity-100 transition-opacity max-md:opacity-100"+ className="flex-shrink-0 p-1 rounded hover:bg-muted md:opacity-0 group-hover:opacity-100 transition-opacity"><LuX className="w-4 h-4 text-muted-foreground" /></button>@@ -394,7 +394,7 @@ export const SearchModal = () => {{item.name}</span></span>- <LuCornerDownLeft className="w-4 h-4 text-muted-foreground opacity-0 group-hover:opacity-100 transition-opacity max-md:opacity-100" />+ <LuCornerDownLeft className="w-4 h-4 text-muted-foreground md:opacity-0 group-hover:opacity-100 transition-opacity" /></CommandItem>))}</CommandGroup>@@ -447,7 +447,7 @@ export const SearchModal = () => {</span>)}</VStack>- <LuChevronRight className="w-4 h-4 text-muted-foreground opacity-0 group-hover:opacity-100 transition-opacity max-md:opacity-100" />+ <LuChevronRight className="w-4 h-4 text-muted-foreground md:opacity-0 group-hover:opacity-100 transition-opacity" /></CommandItem>))}</CommandGroup>diff --git a/apps/erp/app/components/Layout/Topbar/Search/SearchResultItem.tsx b/apps/erp/app/components/Layout/Topbar/Search/SearchResultItem.tsxindex b88afc2de5..997f48da69 100644--- a/apps/erp/app/components/Layout/Topbar/Search/SearchResultItem.tsx+++ b/apps/erp/app/components/Layout/Topbar/Search/SearchResultItem.tsx@@ -60,10 +60,10 @@ export function SearchResultItem({{/* Entity type label + chevron */}<div className="flex-shrink-0 flex items-center gap-2 text-muted-foreground">- <span className="text-xs font-medium opacity-0 group-hover:opacity-100 transition-opacity max-md:opacity-100">+ <span className="text-xs font-medium md:opacity-0 group-hover:opacity-100 transition-opacity">{entityLabel}</span>- <LuChevronRight className="w-4 h-4 opacity-0 group-hover:opacity-100 transition-opacity max-md:opacity-100" />+ <LuChevronRight className="w-4 h-4 md:opacity-0 group-hover:opacity-100 transition-opacity" /></div></button>);diff --git a/apps/erp/app/components/Table/Table.tsx b/apps/erp/app/components/Table/Table.tsxindex b10b8a26bc..259bf792de 100644--- a/apps/erp/app/components/Table/Table.tsx+++ b/apps/erp/app/components/Table/Table.tsx@@ -1421,7 +1421,7 @@ const Table = <T extends object>({) : (<LuArrowUpDownaria-hidden="true"- className="text-muted-foreground/50 opacity-0 transition-opacity group-hover:opacity-100 max-md:opacity-100"+ className="text-muted-foreground/50 md:opacity-0 transition-opacity group-hover:opacity-100"/>)}</span>diff --git a/apps/erp/app/modules/accounting/ui/ChartOfAccounts/ChartOfAccountsTree.tsx b/apps/erp/app/modules/accounting/ui/ChartOfAccounts/ChartOfAccountsTree.tsxindex 7b4b853303..07c9371947 100644--- a/apps/erp/app/modules/accounting/ui/ChartOfAccounts/ChartOfAccountsTree.tsx+++ b/apps/erp/app/modules/accounting/ui/ChartOfAccounts/ChartOfAccountsTree.tsx@@ -340,7 +340,7 @@ const ChartOfAccountsTree = memo(<DropdownMenu><DropdownMenuTrigger asChild><button- className="ml-1 shrink-0 rounded-md p-1 opacity-0 transition-opacity hover:bg-accent group-hover/row:opacity-100 max-md:-mr-3 max-md:flex max-md:size-11 max-md:items-center max-md:justify-center max-md:opacity-100"+ className="ml-1 shrink-0 rounded-md p-1 md:opacity-0 transition-opacity hover:bg-accent group-hover/row:opacity-100 max-md:-mr-3 max-md:flex max-md:size-11 max-md:items-center max-md:justify-center"onClick={(e) => e.stopPropagation()}><LuEllipsisVertical className="h-3.5 w-3.5 text-muted-foreground max-md:size-5" />diff --git a/apps/erp/app/modules/accounting/ui/CostCenters/CostCenterNode.tsx b/apps/erp/app/modules/accounting/ui/CostCenters/CostCenterNode.tsxindex 1262292fc5..bbe12cf60a 100644--- a/apps/erp/app/modules/accounting/ui/CostCenters/CostCenterNode.tsx+++ b/apps/erp/app/modules/accounting/ui/CostCenters/CostCenterNode.tsx@@ -64,7 +64,7 @@ function CostCenterNodeComponent({<DropdownMenu><DropdownMenuTrigger asChild><button- className="ml-auto shrink-0 rounded-md p-1 opacity-0 transition-opacity hover:bg-accent group-hover:opacity-100 focus:opacity-100 max-md:opacity-100 max-md:hit-area"+ className="ml-auto shrink-0 rounded-md p-1 md:opacity-0 transition-opacity hover:bg-accent group-hover:opacity-100 focus:opacity-100 max-md:hit-area"aria-label={t`Actions`}><LuEllipsisVertical className="size-3.5 text-muted-foreground" />diff --git a/apps/erp/app/modules/accounting/ui/JournalEntries/JournalLineRow.tsx b/apps/erp/app/modules/accounting/ui/JournalEntries/JournalLineRow.tsxindex dab127375e..93abb56137 100644--- a/apps/erp/app/modules/accounting/ui/JournalEntries/JournalLineRow.tsx+++ b/apps/erp/app/modules/accounting/ui/JournalEntries/JournalLineRow.tsx@@ -191,7 +191,7 @@ const JournalLineRow = ({variant="ghost"onClick={onDelete}isDisabled={!canDelete}- className="size-8 p-0 text-muted-foreground opacity-0 transition-opacity hover:text-destructive group-hover:opacity-100 disabled:opacity-0 max-md:opacity-100"+ className="size-8 p-0 text-muted-foreground md:opacity-0 transition-opacity hover:text-destructive group-hover:opacity-100 disabled:opacity-0"/>)}</div>diff --git a/apps/erp/app/modules/agent/ui/AgentThreadList.tsx b/apps/erp/app/modules/agent/ui/AgentThreadList.tsxindex c23a52cd6a..3cdb4a2316 100644--- a/apps/erp/app/modules/agent/ui/AgentThreadList.tsx+++ b/apps/erp/app/modules/agent/ui/AgentThreadList.tsx@@ -82,7 +82,7 @@ export function AgentThreadList({<buttontype="button"aria-label="Delete chat"- className="absolute right-1.5 top-1/2 -translate-y-1/2 rounded p-1 text-muted-foreground opacity-0 group-hover:opacity-100 focus-visible:opacity-100 hover:text-destructive hover:bg-muted transition-opacity max-md:opacity-100"+ className="absolute right-1.5 top-1/2 -translate-y-1/2 rounded p-1 text-muted-foreground md:opacity-0 group-hover:opacity-100 focus-visible:opacity-100 hover:text-destructive hover:bg-muted transition-opacity"onClick={(e) => {e.stopPropagation();handleDelete(t.id);diff --git a/apps/erp/app/modules/documents/ui/Documents/DocumentsTable.tsx b/apps/erp/app/modules/documents/ui/Documents/DocumentsTable.tsxindex 8d23d44b14..69dadd97e3 100644--- a/apps/erp/app/modules/documents/ui/Documents/DocumentsTable.tsx+++ b/apps/erp/app/modules/documents/ui/Documents/DocumentsTable.tsx@@ -228,7 +228,7 @@ const DocumentsTable = memo(className="group flex items-center gap-1"><Enumerable value={row.original.sourceDocument} />{" "}- <span className="group-hover:opacity-100 opacity-0 transition-opacity duration-200 w-4 h-4 text-foreground max-md:opacity-100">+ <span className="group-hover:opacity-100 md:opacity-0 transition-opacity duration-200 w-4 h-4 text-foreground"><LuExternalLink /></span></PrefetchLink>diff --git a/apps/erp/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceExplorer.tsx b/apps/erp/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceExplorer.tsxindex 70d1069c38..5515c0a7aa 100644--- a/apps/erp/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceExplorer.tsx+++ b/apps/erp/app/modules/invoicing/ui/PurchaseInvoice/PurchaseInvoiceExplorer.tsx@@ -382,7 +382,7 @@ function PurchaseInvoiceLineItem({<DropdownMenuTrigger asChild><IconButtonaria-label={t`More`}- className="opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100 max-md:opacity-100"+ className="md:opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100"icon={<LuEllipsisVertical />}variant="solid"onClick={(e) => e.stopPropagation()}diff --git a/apps/erp/app/modules/invoicing/ui/SalesInvoice/SalesInvoiceExplorer.tsx b/apps/erp/app/modules/invoicing/ui/SalesInvoice/SalesInvoiceExplorer.tsxindex 2975fa3aa8..7fa1d6f672 100644--- a/apps/erp/app/modules/invoicing/ui/SalesInvoice/SalesInvoiceExplorer.tsx+++ b/apps/erp/app/modules/invoicing/ui/SalesInvoice/SalesInvoiceExplorer.tsx@@ -338,7 +338,7 @@ function SalesInvoiceLineItem({<DropdownMenuTrigger asChild><IconButtonaria-label={t`More`}- className="opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100 max-md:opacity-100"+ className="md:opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100"icon={<LuEllipsisVertical />}variant="solid"onClick={(e) => e.stopPropagation()}diff --git a/apps/erp/app/modules/items/ui/ChangeNotice/ChangeNoticeExplorer.tsx b/apps/erp/app/modules/items/ui/ChangeNotice/ChangeNoticeExplorer.tsxindex dddede56ae..24e29ad74e 100644--- a/apps/erp/app/modules/items/ui/ChangeNotice/ChangeNoticeExplorer.tsx+++ b/apps/erp/app/modules/items/ui/ChangeNotice/ChangeNoticeExplorer.tsx@@ -182,7 +182,7 @@ function AffectedItemRow({<DropdownMenuTrigger asChild><IconButtonaria-label={t`More`}- className="opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100 max-md:opacity-100"+ className="md:opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100"icon={<LuEllipsisVertical />}variant="solid"onClick={(e) => e.stopPropagation()}diff --git a/apps/erp/app/modules/items/ui/Item/BillOfMaterial.tsx b/apps/erp/app/modules/items/ui/Item/BillOfMaterial.tsxindex 79218b3219..c0b2f64b82 100644--- a/apps/erp/app/modules/items/ui/Item/BillOfMaterial.tsx+++ b/apps/erp/app/modules/items/ui/Item/BillOfMaterial.tsx@@ -1291,7 +1291,7 @@ function makeItem(onClick={(e) => e.stopPropagation()}className="max-md:hit-area">- <LuExternalLink className="h-4 w-4 opacity-0 group-hover:opacity-100 max-md:opacity-100" />+ <LuExternalLink className="h-4 w-4 md:opacity-0 group-hover:opacity-100" /></Link>)}</div>diff --git a/apps/erp/app/modules/items/ui/Item/FileBadge.tsx b/apps/erp/app/modules/items/ui/Item/FileBadge.tsxindex 27eadaf73e..eb73298caf 100644--- a/apps/erp/app/modules/items/ui/Item/FileBadge.tsx+++ b/apps/erp/app/modules/items/ui/Item/FileBadge.tsx@@ -49,7 +49,7 @@ export function FileBadge({<LuDownloadonClick={() => download(file)}- className="cursor-pointer group-hover:opacity-100 opacity-0 transition-opacity duration-200 w-4 h-4 text-foreground max-md:opacity-100"+ className="cursor-pointer group-hover:opacity-100 md:opacity-0 transition-opacity duration-200 w-4 h-4 text-foreground"/></HStack>);diff --git a/apps/erp/app/modules/items/ui/Item/UsedIn.tsx b/apps/erp/app/modules/items/ui/Item/UsedIn.tsxindex f96eca5d78..c1050bc3ed 100644--- a/apps/erp/app/modules/items/ui/Item/UsedIn.tsx+++ b/apps/erp/app/modules/items/ui/Item/UsedIn.tsx@@ -403,7 +403,7 @@ export function RevisionsItem({variant="secondary"icon={<LuEllipsisVertical />}aria-label={t`Edit`}- className="absolute right-2 top-1 flex-shrink-0 opacity-0 group-hover/used-in:opacity-100 data-[state=open]:opacity-100 max-md:opacity-100"+ className="absolute right-2 top-1 flex-shrink-0 md:opacity-0 group-hover/used-in:opacity-100 data-[state=open]:opacity-100"/></DropdownMenuTrigger><DropdownMenuContent align="end">diff --git a/apps/erp/app/modules/items/ui/Parts/PartProperties.tsx b/apps/erp/app/modules/items/ui/Parts/PartProperties.tsxindex d140ea885f..1963fc2ec4 100644--- a/apps/erp/app/modules/items/ui/Parts/PartProperties.tsx+++ b/apps/erp/app/modules/items/ui/Parts/PartProperties.tsx@@ -295,7 +295,7 @@ const PartProperties = ({<LuMove3D className="w-3 h-3 mr-1 text-emerald-500" /><Trans>3D Model</Trans></Badge>- <span className="group-hover:opacity-100 opacity-0 transition-opacity duration-200 w-4 h-4 text-foreground max-md:opacity-100">+ <span className="group-hover:opacity-100 md:opacity-0 transition-opacity duration-200 w-4 h-4 text-foreground"><LuExternalLink /></span></Link>diff --git a/apps/erp/app/modules/people/ui/Departments/DepartmentNode.tsx b/apps/erp/app/modules/people/ui/Departments/DepartmentNode.tsxindex 0a5588036e..3b8d00bb59 100644--- a/apps/erp/app/modules/people/ui/Departments/DepartmentNode.tsx+++ b/apps/erp/app/modules/people/ui/Departments/DepartmentNode.tsx@@ -60,7 +60,7 @@ function DepartmentNodeComponent({<DropdownMenu><DropdownMenuTrigger asChild><button- className="ml-auto shrink-0 rounded-md p-1 opacity-0 transition-opacity hover:bg-accent group-hover:opacity-100 focus:opacity-100 max-md:opacity-100 max-md:hit-area"+ className="ml-auto shrink-0 rounded-md p-1 md:opacity-0 transition-opacity hover:bg-accent group-hover:opacity-100 focus:opacity-100 max-md:hit-area"aria-label="Actions"><LuEllipsisVertical className="size-3.5 text-muted-foreground" />diff --git a/apps/erp/app/modules/production/ui/Assemblies/AssemblyBomTree.tsx b/apps/erp/app/modules/production/ui/Assemblies/AssemblyBomTree.tsxindex 0df9f3b810..1efecff4ee 100644--- a/apps/erp/app/modules/production/ui/Assemblies/AssemblyBomTree.tsx+++ b/apps/erp/app/modules/production/ui/Assemblies/AssemblyBomTree.tsx@@ -1161,7 +1161,7 @@ function UnitListRow({icon={<LuPencil />}variant="ghost"size="sm"- className="opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 focus:opacity-100 max-md:opacity-100"+ className="md:opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 focus:opacity-100"onClick={(event) => {event.stopPropagation();onEdit();@@ -1174,7 +1174,7 @@ function UnitListRow({icon={<LuTrash />}variant="ghost"size="sm"- className="opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 focus:opacity-100 max-md:opacity-100"+ className="md:opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 focus:opacity-100"onClick={(event) => {event.stopPropagation();deleteFetcher.submit(new FormData(), {@@ -1664,7 +1664,7 @@ function ComponentRow({icon={<LuSettings />}variant="ghost"size="sm"- className="opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 focus:opacity-100 data-[state=open]:opacity-100 max-md:opacity-100"+ className="md:opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 focus:opacity-100 data-[state=open]:opacity-100"onClick={(event) => event.stopPropagation()}/></PopoverTrigger>@@ -1751,7 +1751,7 @@ function HideToggle({"focus:opacity-100",isMarked? "opacity-100 text-muted-foreground"- : "opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 max-md:opacity-100"+ : "md:opacity-0 group-hover:opacity-100 group-focus-within:opacity-100")}onClick={(event) => {event.stopPropagation();@@ -1768,7 +1768,7 @@ function HideToggle({className={cn("inline-flex",!isMarked &&- "opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 max-md:opacity-100"+ "md:opacity-0 group-hover:opacity-100 group-focus-within:opacity-100")}>{button}diff --git a/apps/erp/app/modules/production/ui/Assemblies/AssemblyInstructionProperties.tsx b/apps/erp/app/modules/production/ui/Assemblies/AssemblyInstructionProperties.tsxindex 11e28085ec..245e19f533 100644--- a/apps/erp/app/modules/production/ui/Assemblies/AssemblyInstructionProperties.tsx+++ b/apps/erp/app/modules/production/ui/Assemblies/AssemblyInstructionProperties.tsx@@ -952,7 +952,7 @@ function StepComponentsEditor({icon={<LuX />}variant="ghost"size="sm"- className="opacity-0 group-hover:opacity-100 focus:opacity-100 max-md:opacity-100"+ className="md:opacity-0 group-hover:opacity-100 focus:opacity-100"onClick={() => setUsedIn(used.headerId, "")}/>)}@@ -1004,7 +1004,7 @@ function StepComponentsEditor({icon={<LuX />}variant="ghost"size="sm"- className="opacity-0 group-hover:opacity-100 focus:opacity-100 max-md:opacity-100"+ className="md:opacity-0 group-hover:opacity-100 focus:opacity-100"onClick={(event) => {event.stopPropagation();onRemoveComponents(group.nodeIds);diff --git a/apps/erp/app/modules/production/ui/Assemblies/AssemblyStepList.tsx b/apps/erp/app/modules/production/ui/Assemblies/AssemblyStepList.tsxindex 49e36c37df..39a0345ff4 100644--- a/apps/erp/app/modules/production/ui/Assemblies/AssemblyStepList.tsx+++ b/apps/erp/app/modules/production/ui/Assemblies/AssemblyStepList.tsx@@ -934,7 +934,7 @@ function SubAssemblyRow({aria-label={t`More options`}size="sm"variant="ghost"- className="size-6 shrink-0 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 data-[state=open]:opacity-100 max-md:opacity-100"+ className="size-6 shrink-0 md:opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 data-[state=open]:opacity-100"icon={<LuEllipsisVertical />}onClick={(e) => e.stopPropagation()}/>@@ -1097,7 +1097,7 @@ function StepRow({aria-label={t`More options`}size="sm"variant="ghost"- className="size-6 shrink-0 opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 data-[state=open]:opacity-100 max-md:opacity-100"+ className="size-6 shrink-0 md:opacity-0 group-hover:opacity-100 group-focus-within:opacity-100 data-[state=open]:opacity-100"icon={<LuEllipsisVertical />}onClick={(e) => e.stopPropagation()}/>diff --git a/apps/erp/app/modules/production/ui/Jobs/JobBillOfMaterial.tsx b/apps/erp/app/modules/production/ui/Jobs/JobBillOfMaterial.tsxindex 2b6212b3ac..33cd9faed4 100644--- a/apps/erp/app/modules/production/ui/Jobs/JobBillOfMaterial.tsx+++ b/apps/erp/app/modules/production/ui/Jobs/JobBillOfMaterial.tsx@@ -175,7 +175,7 @@ function makeItem(onClick={(e) => e.stopPropagation()}className="max-md:hit-area">- <LuExternalLink className="h-4 w-4 opacity-0 group-hover:opacity-100 max-md:opacity-100" />+ <LuExternalLink className="h-4 w-4 md:opacity-0 group-hover:opacity-100" /></Link>)}</div>diff --git a/apps/erp/app/modules/production/ui/Jobs/JobProperties.tsx b/apps/erp/app/modules/production/ui/Jobs/JobProperties.tsxindex 5e02c61f4f..13bbd626e5 100644--- a/apps/erp/app/modules/production/ui/Jobs/JobProperties.tsx+++ b/apps/erp/app/modules/production/ui/Jobs/JobProperties.tsx@@ -328,7 +328,7 @@ const JobProperties = () => {</Badge></Hyperlink><Button- className="group-hover:opacity-100 opacity-0 transition-opacity duration-200 max-md:opacity-100"+ className="group-hover:opacity-100 md:opacity-0 transition-opacity duration-200"variant="ghost"size="sm"leftIcon={<LuUnlink2 className="w-3 h-3" />}diff --git a/apps/erp/app/modules/production/ui/Procedures/ProcedureExplorer.tsx b/apps/erp/app/modules/production/ui/Procedures/ProcedureExplorer.tsxindex 006e639121..912dc63153 100644--- a/apps/erp/app/modules/production/ui/Procedures/ProcedureExplorer.tsx+++ b/apps/erp/app/modules/production/ui/Procedures/ProcedureExplorer.tsx@@ -571,7 +571,7 @@ function ProcedureStepItem({<DropdownMenuTrigger asChild><IconButtonaria-label={t`More`}- className="opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100 max-md:opacity-100"+ className="md:opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100"icon={<LuEllipsisVertical />}variant="solid"onClick={(e) => e.stopPropagation()}@@ -663,7 +663,7 @@ function ProcedureParameterItem({<DropdownMenuTrigger asChild><IconButtonaria-label={t`More`}- className="opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100 max-md:opacity-100"+ className="md:opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100"icon={<LuEllipsisVertical />}variant="solid"onClick={(e) => e.stopPropagation()}diff --git a/apps/erp/app/modules/production/ui/Schedule/Kanban/components/BatchItemCard.tsx b/apps/erp/app/modules/production/ui/Schedule/Kanban/components/BatchItemCard.tsxindex f483f09d1c..0a2d457ff7 100644--- a/apps/erp/app/modules/production/ui/Schedule/Kanban/components/BatchItemCard.tsx+++ b/apps/erp/app/modules/production/ui/Schedule/Kanban/components/BatchItemCard.tsx@@ -377,7 +377,7 @@ const BatchItemCardBody = memo(function BatchItemCardBody({icon={<LuX />}variant="ghost"size="sm"- className="opacity-0 group-hover:opacity-100 text-muted-foreground hover:text-destructive max-md:opacity-100"+ className="md:opacity-0 group-hover:opacity-100 text-muted-foreground hover:text-destructive"onClick={() => setRemoving(m)}/>)}diff --git a/apps/erp/app/modules/production/ui/Schedule/WorkCenterAvailabilityPopover.tsx b/apps/erp/app/modules/production/ui/Schedule/WorkCenterAvailabilityPopover.tsxindex f6fb57eca4..4c1288b729 100644--- a/apps/erp/app/modules/production/ui/Schedule/WorkCenterAvailabilityPopover.tsx+++ b/apps/erp/app/modules/production/ui/Schedule/WorkCenterAvailabilityPopover.tsx@@ -92,7 +92,7 @@ export function WorkCenterAvailabilityPopover({aria-label={t`How are these hours calculated?`}// Stop the row's onClick (which selects the node) from firing.onClick={(e) => e.stopPropagation()}- className="flex size-5 shrink-0 items-center justify-center rounded-sm text-muted-foreground/70 opacity-0 transition hover:bg-muted hover:text-foreground focus-visible:opacity-100 group-hover:opacity-100 data-[state=open]:opacity-100 max-md:opacity-100"+ className="flex size-5 shrink-0 items-center justify-center rounded-sm text-muted-foreground/70 md:opacity-0 transition hover:bg-muted hover:text-foreground focus-visible:opacity-100 group-hover:opacity-100 data-[state=open]:opacity-100"><LuInfo className="size-3.5" /></button>diff --git a/apps/erp/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrderExplorer.tsx b/apps/erp/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrderExplorer.tsxindex 56d84624fe..6858ab96ea 100644--- a/apps/erp/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrderExplorer.tsx+++ b/apps/erp/app/modules/purchasing/ui/PurchaseOrder/PurchaseOrderExplorer.tsx@@ -395,7 +395,7 @@ function PurchaseOrderLineItem({<DropdownMenuTrigger asChild><IconButtonaria-label={t`More`}- className="opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100 max-md:opacity-100"+ className="md:opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100"icon={<LuEllipsisVertical />}variant="solid"onClick={(e) => e.stopPropagation()}diff --git a/apps/erp/app/modules/purchasing/ui/PurchaseReturnOrders/PurchaseReturnOrderExplorer.tsx b/apps/erp/app/modules/purchasing/ui/PurchaseReturnOrders/PurchaseReturnOrderExplorer.tsxindex c74de43dd2..2d8eeca4b5 100644--- a/apps/erp/app/modules/purchasing/ui/PurchaseReturnOrders/PurchaseReturnOrderExplorer.tsx+++ b/apps/erp/app/modules/purchasing/ui/PurchaseReturnOrders/PurchaseReturnOrderExplorer.tsx@@ -329,7 +329,7 @@ function PurchaseReturnOrderLineItem({<IconButtonaria-label={disclosure.isOpen ? t`Hide` : t`Show`}className={cn(- "animate opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100 max-md:opacity-100",+ "animate md:opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100",disclosure.isOpen && "-rotate-180")}icon={<LuChevronDown />}@@ -344,7 +344,7 @@ function PurchaseReturnOrderLineItem({<DropdownMenuTrigger asChild><IconButtonaria-label="More"- className="opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100 max-md:opacity-100"+ className="md:opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100"icon={<LuEllipsisVertical />}size="md"variant="solid"diff --git a/apps/erp/app/modules/purchasing/ui/PurchasingRfq/PurchasingRFQExplorer.tsx b/apps/erp/app/modules/purchasing/ui/PurchasingRfq/PurchasingRFQExplorer.tsxindex 8079c94c68..faf05071db 100644--- a/apps/erp/app/modules/purchasing/ui/PurchasingRfq/PurchasingRFQExplorer.tsx+++ b/apps/erp/app/modules/purchasing/ui/PurchasingRfq/PurchasingRFQExplorer.tsx@@ -309,7 +309,7 @@ function PurchasingRFQLineItem({<DropdownMenuTrigger asChild><IconButtonaria-label={t`More`}- className="opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100 max-md:opacity-100"+ className="md:opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100"icon={<LuEllipsisVertical />}variant="solid"onClick={(e) => e.stopPropagation()}diff --git a/apps/erp/app/modules/purchasing/ui/SupplierQuote/SupplierQuoteExplorer.tsx b/apps/erp/app/modules/purchasing/ui/SupplierQuote/SupplierQuoteExplorer.tsxindex 3093542e5f..b0d37ca883 100644--- a/apps/erp/app/modules/purchasing/ui/SupplierQuote/SupplierQuoteExplorer.tsx+++ b/apps/erp/app/modules/purchasing/ui/SupplierQuote/SupplierQuoteExplorer.tsx@@ -338,7 +338,7 @@ function SupplierQuoteLineItem({<DropdownMenuTrigger asChild><IconButtonaria-label={t`More`}- className="opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100 max-md:opacity-100"+ className="md:opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100"icon={<LuEllipsisVertical />}variant="solid"onClick={(e) => e.stopPropagation()}diff --git a/apps/erp/app/modules/quality/ui/Issue/IssueAssociations.tsx b/apps/erp/app/modules/quality/ui/Issue/IssueAssociations.tsxindex 445a7899a5..9d9aafbb9f 100644--- a/apps/erp/app/modules/quality/ui/Issue/IssueAssociations.tsx+++ b/apps/erp/app/modules/quality/ui/Issue/IssueAssociations.tsx@@ -279,7 +279,7 @@ export function IssueAssociationItem({icon={<LuEllipsisVertical />}variant="ghost"size="sm"- className="absolute right-1 top-1 flex-shrink-0 opacity-0 group-hover/association:opacity-100 data-[state=open]:opacity-100 text-foreground/70 hover:text-foreground max-md:opacity-100"+ className="absolute right-1 top-1 flex-shrink-0 md:opacity-0 group-hover/association:opacity-100 data-[state=open]:opacity-100 text-foreground/70 hover:text-foreground"/></DropdownMenuTrigger><DropdownMenuContent>diff --git a/apps/erp/app/modules/quality/ui/RiskRegister/RiskRegisterCard.tsx b/apps/erp/app/modules/quality/ui/RiskRegister/RiskRegisterCard.tsxindex 14ea2631df..03b337cedc 100644--- a/apps/erp/app/modules/quality/ui/RiskRegister/RiskRegisterCard.tsx+++ b/apps/erp/app/modules/quality/ui/RiskRegister/RiskRegisterCard.tsx@@ -235,7 +235,7 @@ function RiskRegisterCardItem({</p>)}</div>- <div className="flex items-center gap-1 opacity-0 group-hover:opacity-100 transition-opacity max-md:opacity-100">+ <div className="flex items-center gap-1 md:opacity-0 group-hover:opacity-100 transition-opacity"><IconButtonaria-label={t`Edit`}icon={<LuSettings2 className="h-4 w-4" />}diff --git a/apps/erp/app/modules/resources/ui/Maintenance/MaintenanceDispatchExplorer.tsx b/apps/erp/app/modules/resources/ui/Maintenance/MaintenanceDispatchExplorer.tsxindex 28c9c3dd30..8d40fe50da 100644--- a/apps/erp/app/modules/resources/ui/Maintenance/MaintenanceDispatchExplorer.tsx+++ b/apps/erp/app/modules/resources/ui/Maintenance/MaintenanceDispatchExplorer.tsx@@ -382,7 +382,7 @@ function MaintenanceExplorerChildItem({icon={<LuEllipsisVertical />}variant="ghost"size="sm"- className="absolute right-1 top-1 flex-shrink-0 opacity-0 group-hover/child:opacity-100 data-[state=open]:opacity-100 text-foreground/70 hover:text-foreground max-md:opacity-100"+ className="absolute right-1 top-1 flex-shrink-0 md:opacity-0 group-hover/child:opacity-100 data-[state=open]:opacity-100 text-foreground/70 hover:text-foreground"/></DropdownMenuTrigger><DropdownMenuContent>diff --git a/apps/erp/app/modules/resources/ui/Training/TrainingExplorer.tsx b/apps/erp/app/modules/resources/ui/Training/TrainingExplorer.tsxindex 14be380790..8246a7ed94 100644--- a/apps/erp/app/modules/resources/ui/Training/TrainingExplorer.tsx+++ b/apps/erp/app/modules/resources/ui/Training/TrainingExplorer.tsx@@ -421,7 +421,7 @@ function TrainingQuestionItem({<DropdownMenuTrigger asChild><IconButtonaria-label={t`More`}- className="opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100 max-md:opacity-100"+ className="md:opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100"icon={<LuEllipsisVertical />}variant="solid"onClick={(e) => e.stopPropagation()}diff --git a/apps/erp/app/modules/sales/ui/Quotes/QuoteBillOfMaterial.tsx b/apps/erp/app/modules/sales/ui/Quotes/QuoteBillOfMaterial.tsxindex 2db0140a42..69f609b289 100644--- a/apps/erp/app/modules/sales/ui/Quotes/QuoteBillOfMaterial.tsx+++ b/apps/erp/app/modules/sales/ui/Quotes/QuoteBillOfMaterial.tsx@@ -158,7 +158,7 @@ function makeItem(to={getLinkToItemDetails(material.itemType, material.itemId)}onClick={(e) => e.stopPropagation()}>- <LuExternalLink className="h-4 w-4 opacity-0 group-hover:opacity-100 max-md:opacity-100" />+ <LuExternalLink className="h-4 w-4 md:opacity-0 group-hover:opacity-100" /></Link>)}</div>diff --git a/apps/erp/app/modules/sales/ui/Quotes/QuoteExplorer.tsx b/apps/erp/app/modules/sales/ui/Quotes/QuoteExplorer.tsxindex e47c70b95c..a58f84903d 100644--- a/apps/erp/app/modules/sales/ui/Quotes/QuoteExplorer.tsx+++ b/apps/erp/app/modules/sales/ui/Quotes/QuoteExplorer.tsx@@ -521,7 +521,7 @@ function QuoteLineItem({<IconButtonaria-label={disclosure.isOpen ? "Hide" : "Show"}className={cn(- "animate opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100 max-md:opacity-100",+ "animate md:opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100",disclosure.isOpen && "-rotate-180")}icon={<LuChevronDown />}@@ -537,7 +537,7 @@ function QuoteLineItem({<DropdownMenuTrigger asChild><IconButtonaria-label="More"- className="opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100 max-md:opacity-100"+ className="md:opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100"icon={<LuEllipsisVertical />}size="md"variant="solid"diff --git a/apps/erp/app/modules/sales/ui/SalesOrder/SalesOrderExplorer.tsx b/apps/erp/app/modules/sales/ui/SalesOrder/SalesOrderExplorer.tsxindex de8ad25f27..f6789a0adb 100644--- a/apps/erp/app/modules/sales/ui/SalesOrder/SalesOrderExplorer.tsx+++ b/apps/erp/app/modules/sales/ui/SalesOrder/SalesOrderExplorer.tsx@@ -419,7 +419,7 @@ function SalesOrderLineItem({<IconButtonaria-label={disclosure.isOpen ? "Hide" : "Show"}className={cn(- "animate opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100 max-md:opacity-100",+ "animate md:opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100",disclosure.isOpen && "-rotate-180")}icon={<LuChevronDown />}@@ -434,7 +434,7 @@ function SalesOrderLineItem({<DropdownMenuTrigger asChild><IconButtonaria-label="More"- className="opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100 max-md:opacity-100"+ className="md:opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100"icon={<LuEllipsisVertical />}size="md"variant="solid"diff --git a/apps/erp/app/modules/sales/ui/SalesRFQ/SalesRFQExplorer.tsx b/apps/erp/app/modules/sales/ui/SalesRFQ/SalesRFQExplorer.tsxindex c188b00823..9b53dd6f23 100644--- a/apps/erp/app/modules/sales/ui/SalesRFQ/SalesRFQExplorer.tsx+++ b/apps/erp/app/modules/sales/ui/SalesRFQ/SalesRFQExplorer.tsx@@ -444,7 +444,7 @@ function SalesRFQLineItem({<DropdownMenuTrigger asChild><IconButtonaria-label="More"- className="opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100 max-md:opacity-100"+ className="md:opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100"icon={<LuEllipsisVertical />}variant="solid"onClick={(e) => e.stopPropagation()}diff --git a/apps/erp/app/modules/sales/ui/SalesReturnOrders/SalesReturnOrderExplorer.tsx b/apps/erp/app/modules/sales/ui/SalesReturnOrders/SalesReturnOrderExplorer.tsxindex de17463009..358299639d 100644--- a/apps/erp/app/modules/sales/ui/SalesReturnOrders/SalesReturnOrderExplorer.tsx+++ b/apps/erp/app/modules/sales/ui/SalesReturnOrders/SalesReturnOrderExplorer.tsx@@ -326,7 +326,7 @@ function SalesReturnOrderLineItem({<IconButtonaria-label={disclosure.isOpen ? t`Hide` : t`Show`}className={cn(- "animate opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100 max-md:opacity-100",+ "animate md:opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100",disclosure.isOpen && "-rotate-180")}icon={<LuChevronDown />}@@ -341,7 +341,7 @@ function SalesReturnOrderLineItem({<DropdownMenuTrigger asChild><IconButtonaria-label="More"- className="opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100 max-md:opacity-100"+ className="md:opacity-0 group-hover:opacity-100 group-active:opacity-100 data-[state=open]:opacity-100"icon={<LuEllipsisVertical />}size="md"variant="solid"diff --git a/apps/erp/app/modules/settings/ui/Companies/CompanyNode.tsx b/apps/erp/app/modules/settings/ui/Companies/CompanyNode.tsxindex 1af8e6defe..6e951f8e97 100644--- a/apps/erp/app/modules/settings/ui/Companies/CompanyNode.tsx+++ b/apps/erp/app/modules/settings/ui/Companies/CompanyNode.tsx@@ -80,7 +80,7 @@ function CompanyNodeComponent({ data }: NodeProps & { data: CompanyNodeData }) {<DropdownMenu><DropdownMenuTrigger asChild><button- className="ml-auto shrink-0 rounded-md p-1 opacity-0 transition-opacity hover:bg-accent group-hover:opacity-100 focus:opacity-100 max-md:opacity-100 max-md:hit-area"+ className="ml-auto shrink-0 rounded-md p-1 md:opacity-0 transition-opacity hover:bg-accent group-hover:opacity-100 focus:opacity-100 max-md:hit-area"aria-label="Actions"><LuEllipsisVertical className="size-3.5 text-muted-foreground" />diff --git a/apps/erp/app/modules/workflows/ui/Builder/BuilderHeader.tsx b/apps/erp/app/modules/workflows/ui/Builder/BuilderHeader.tsxindex edf8d648e3..6c5d502f3f 100644--- a/apps/erp/app/modules/workflows/ui/Builder/BuilderHeader.tsx+++ b/apps/erp/app/modules/workflows/ui/Builder/BuilderHeader.tsx@@ -148,7 +148,7 @@ function WorkflowTitle({}}><Heading className={headingClassName}>{name}</Heading>- <LuPencil className="size-3 shrink-0 text-muted-foreground opacity-0 transition-opacity group-hover/title:opacity-100 max-md:size-4 max-md:opacity-100" />+ <LuPencil className="size-3 shrink-0 text-muted-foreground md:opacity-0 transition-opacity group-hover/title:opacity-100 max-md:size-4" /></button>);}diff --git a/apps/erp/app/modules/workflows/ui/Builder/config/InlineNodeName.tsx b/apps/erp/app/modules/workflows/ui/Builder/config/InlineNodeName.tsxindex 6454391bf3..346d014df0 100644--- a/apps/erp/app/modules/workflows/ui/Builder/config/InlineNodeName.tsx+++ b/apps/erp/app/modules/workflows/ui/Builder/config/InlineNodeName.tsx@@ -100,7 +100,7 @@ export function InlineNodeName({ name, isReadOnly, isTaken, onCommit }: Props) {<span className="truncate text-xs font-semibold">{nodeNameLabel(name)}</span>- <LuPencil className="size-2.5 shrink-0 text-muted-foreground opacity-0 transition-opacity group-hover/name:opacity-100 max-md:opacity-100" />+ <LuPencil className="size-2.5 shrink-0 text-muted-foreground md:opacity-0 transition-opacity group-hover/name:opacity-100" /></button></div>);diff --git a/apps/erp/app/routes/x+/_index.tsx b/apps/erp/app/routes/x+/_index.tsxindex 81d6b23b1c..29ce3ac0ec 100644--- a/apps/erp/app/routes/x+/_index.tsx+++ b/apps/erp/app/routes/x+/_index.tsx@@ -377,7 +377,7 @@ function OnboardAgentWidget({ dismissed: initial }: { dismissed: boolean }) {size="sm"isRoundonClick={dismiss}- className="ml-2 text-muted-foreground rounded-full opacity-0 transition-opacity duration-200 group-hover:opacity-100 group-focus-within:opacity-100 max-md:opacity-100"+ className="ml-2 text-muted-foreground rounded-full md:opacity-0 transition-opacity duration-200 group-hover:opacity-100 group-focus-within:opacity-100"/></TooltipTrigger><TooltipContent>@@ -495,7 +495,7 @@ const RecentDocumentRow = ({variant="ghost"size="sm"onClick={onRemove}- className="absolute right-2 top-1/2 -translate-y-1/2 opacity-0 group-hover:opacity-100 transition-opacity max-md:opacity-100"+ className="absolute right-2 top-1/2 -translate-y-1/2 md:opacity-0 group-hover:opacity-100 transition-opacity"/></div>);diff --git a/packages/react/src/CodeBlockHighlighted.tsx b/packages/react/src/CodeBlockHighlighted.tsxindex 7fa270b833..5583f62a43 100644--- a/packages/react/src/CodeBlockHighlighted.tsx+++ b/packages/react/src/CodeBlockHighlighted.tsx@@ -73,7 +73,7 @@ const CodeBlockHighlighted = ({</ShikiHighlighter>{showCopy && (- <div className="invisible absolute right-0 top-0 opacity-0 transition-opacity group-hover:visible group-hover:opacity-100 max-md:opacity-100">+ <div className="invisible absolute right-0 top-0 md:opacity-0 transition-opacity group-hover:visible group-hover:opacity-100"><Button size="sm" onClick={handleCopyCode}>{showCopied ? "Copied" : "Copy"}</Button>diff --git a/packages/react/src/NavRail.tsx b/packages/react/src/NavRail.tsxindex d58b541f2a..79bf9bdd5c 100644--- a/packages/react/src/NavRail.tsx+++ b/packages/react/src/NavRail.tsx@@ -370,7 +370,7 @@ export const NavRailItem = forwardRef<HTMLButtonElement, NavRailItemProps>(className={cn("absolute left-7 right-3 min-w-32 group-data-[state=expanded]:left-12","flex items-center gap-2",- "opacity-0 group-data-[state=expanded]:opacity-100 max-md:opacity-100",+ "md:opacity-0 group-data-[state=expanded]:opacity-100",tag ? "max-md:right-11" : null)}>@@ -460,7 +460,7 @@ export function NavRailBrand({</span><spanaria-hidden- className="min-w-0 flex-1 truncate opacity-0 transition-opacity duration-200 group-data-[state=expanded]:opacity-100 max-md:opacity-100"+ className="min-w-0 flex-1 truncate md:opacity-0 transition-opacity duration-200 group-data-[state=expanded]:opacity-100">{label}</span>@@ -487,7 +487,7 @@ export function NavRailGroup({aria-hiddenclassName="absolute inset-x-0 top-1/2 mx-auto h-px w-6 bg-border opacity-100 transition-opacity duration-200 group-data-[state=expanded]:opacity-0"/>- <span className="absolute inset-0 flex items-center px-2 text-[11px] font-medium uppercase tracking-wider text-foreground/50 whitespace-nowrap opacity-0 transition-opacity duration-200 group-data-[state=expanded]:opacity-100 max-md:opacity-100">+ <span className="absolute inset-0 flex items-center px-2 text-[11px] font-medium uppercase tracking-wider text-foreground/50 whitespace-nowrap md:opacity-0 transition-opacity duration-200 group-data-[state=expanded]:opacity-100">{label}</span></div>