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:
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@medusajs/admin-ui": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix(admin-ui): Try and ensure allocation table checkmarks align better
|
||||||
@@ -60,7 +60,7 @@ const OrderLine = ({ item, currencyCode, reservations }: OrderLineProps) => {
|
|||||||
{isFeatureEnabled("inventoryService") && (
|
{isFeatureEnabled("inventoryService") && (
|
||||||
<ReservationIndicator reservations={reservations} lineItem={item} />
|
<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({
|
{formatAmountWithSymbol({
|
||||||
amount: item.total ?? 0,
|
amount: item.total ?? 0,
|
||||||
currency: currencyCode,
|
currency: currencyCode,
|
||||||
|
|||||||
Reference in New Issue
Block a user