From 412bba50babdf20ac4008e1896f5e7a438ef8505 Mon Sep 17 00:00:00 2001 From: Oliver Date: Tue, 14 Jan 2025 13:42:03 +1100 Subject: [PATCH] Slight tweak to (#8890) * Slight tweak to * Responsive layout for user settings * Make menu links responsive * Update * Update part pricing panels --- .../src/components/details/Details.tsx | 19 ++++++++++++------- .../src/components/items/MenuLinks.tsx | 7 ++++++- .../components/settings/FactCollection.tsx | 10 +++++++++- .../Settings/AccountSettings/UserPanel.tsx | 2 +- .../src/pages/part/PartSchedulingDetail.tsx | 2 +- .../src/pages/part/PartStocktakeDetail.tsx | 2 +- .../pages/part/pricing/BomPricingPanel.tsx | 2 +- .../pages/part/pricing/PriceBreakPanel.tsx | 2 +- .../part/pricing/PricingOverviewPanel.tsx | 2 +- .../part/pricing/PurchaseHistoryPanel.tsx | 2 +- .../pages/part/pricing/SaleHistoryPanel.tsx | 2 +- .../part/pricing/SupplierPricingPanel.tsx | 2 +- .../part/pricing/VariantPricingPanel.tsx | 2 +- 13 files changed, 37 insertions(+), 19 deletions(-) diff --git a/src/frontend/src/components/details/Details.tsx b/src/frontend/src/components/details/Details.tsx index 52883d1242..531317f31b 100644 --- a/src/frontend/src/components/details/Details.tsx +++ b/src/frontend/src/components/details/Details.tsx @@ -378,17 +378,22 @@ export function DetailsTableField({ return ( + + + + {field.label} + + - - - - {field.label} - - diff --git a/src/frontend/src/components/items/MenuLinks.tsx b/src/frontend/src/components/items/MenuLinks.tsx index 9f882e22a5..531b2a81bc 100644 --- a/src/frontend/src/components/items/MenuLinks.tsx +++ b/src/frontend/src/components/items/MenuLinks.tsx @@ -53,7 +53,12 @@ export function MenuLinks({ {title} - + {visibleLinks.map((item) => ( ) { return ( - + {items.map((item, index) => ( - + diff --git a/src/frontend/src/pages/part/PartSchedulingDetail.tsx b/src/frontend/src/pages/part/PartSchedulingDetail.tsx index bf5caa310d..1ec87409d4 100644 --- a/src/frontend/src/pages/part/PartSchedulingDetail.tsx +++ b/src/frontend/src/pages/part/PartSchedulingDetail.tsx @@ -243,7 +243,7 @@ export default function PartSchedulingDetail({ {t`There is no scheduling information available for the selected part`} )} - + + - + + {editPricing.modal} - + diff --git a/src/frontend/src/pages/part/pricing/PurchaseHistoryPanel.tsx b/src/frontend/src/pages/part/pricing/PurchaseHistoryPanel.tsx index ce3ea98e33..aeec576b76 100644 --- a/src/frontend/src/pages/part/pricing/PurchaseHistoryPanel.tsx +++ b/src/frontend/src/pages/part/pricing/PurchaseHistoryPanel.tsx @@ -103,7 +103,7 @@ export default function PurchaseHistoryPanel({ }, [table.records]); return ( - + + + - +