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:
<img width="663" alt="image" src="https://user-images.githubusercontent.com/948623/226488496-9ac834d6-6deb-4960-afb5-683e25b207e5.png">

After:
<img width="663" alt="image" src="https://user-images.githubusercontent.com/948623/226488325-765a18aa-090b-456f-a9cb-8676ef23d7a4.png">

Resolves CORE-1244
This commit is contained in:
Rares Stefan
2023-03-21 09:22:09 +01:00
committed by GitHub
parent 497c7c55c7
commit c328ec5ca2
2 changed files with 6 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
---
"@medusajs/admin-ui": patch
---
fix(admin-ui): Try and ensure allocation table checkmarks align better

View File

@@ -60,7 +60,7 @@ const OrderLine = ({ item, currencyCode, reservations }: OrderLineProps) => {
{isFeatureEnabled("inventoryService") && (
<ReservationIndicator reservations={reservations} lineItem={item} />
)}
<div className="inter-small-regular text-grey-90">
<div className="inter-small-regular text-grey-90 min-w-[55px] text-right">
{formatAmountWithSymbol({
amount: item.total ?? 0,
currency: currencyCode,