From c328ec5ca2f9d13cb7b6cbfc393e0b2d40e75b10 Mon Sep 17 00:00:00 2001 From: Rares Stefan Date: Tue, 21 Mar 2023 09:22:09 +0100 Subject: [PATCH] fix(admin-ui): Try and ensure allocation table checkmarks align better (#3535) Followed the suggestion in the card and added a seemingly reasonable min-width to the total cell. Looks alright to me, though potentially fragile. Before: image After: image Resolves CORE-1244 --- .changeset/lemon-cameras-yawn.md | 5 +++++ .../ui/src/domain/orders/details/order-line/index.tsx | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/lemon-cameras-yawn.md diff --git a/.changeset/lemon-cameras-yawn.md b/.changeset/lemon-cameras-yawn.md new file mode 100644 index 0000000000..135ca2e4b8 --- /dev/null +++ b/.changeset/lemon-cameras-yawn.md @@ -0,0 +1,5 @@ +--- +"@medusajs/admin-ui": patch +--- + +fix(admin-ui): Try and ensure allocation table checkmarks align better diff --git a/packages/admin-ui/ui/src/domain/orders/details/order-line/index.tsx b/packages/admin-ui/ui/src/domain/orders/details/order-line/index.tsx index cd12ae0774..08ffa20d62 100644 --- a/packages/admin-ui/ui/src/domain/orders/details/order-line/index.tsx +++ b/packages/admin-ui/ui/src/domain/orders/details/order-line/index.tsx @@ -60,7 +60,7 @@ const OrderLine = ({ item, currencyCode, reservations }: OrderLineProps) => { {isFeatureEnabled("inventoryService") && ( )} -
+
{formatAmountWithSymbol({ amount: item.total ?? 0, currency: currencyCode,