diff --git a/src/components/organisms/widgets/account-balances.tsx b/src/components/organisms/widgets/account-balances.tsx index d668da7..466d25d 100644 --- a/src/components/organisms/widgets/account-balances.tsx +++ b/src/components/organisms/widgets/account-balances.tsx @@ -35,9 +35,17 @@ export function AccountBalancesWidget({ data }: AccountBalancesWidgetProps) { {/* Account and balance are a real two-column table. The widget shows no visible headers, so they are screen-reader only -- without them the balances read as an undifferentiated run of numbers. */} -
- +
+ {/* table-fixed pins the balance column to a fixed width so it can + never be pushed past the card's edge -- without it the balance + column grows to fit its content and drags a horizontal scrollbar + (and the card's own overflow-hidden) along with it. */} +
+ + + + @@ -58,7 +66,7 @@ export function AccountBalancesWidget({ data }: AccountBalancesWidgetProps) { {accountDisplayName(account.name)} -
Account balances
Account + +
    {topHoldings.map((h) => (
  • -
    +
    {holdingLabel(h)} {centsToDisplay(h.currentValue)}