Skip to content

fix: simplify payment method nickname cell rendering#2020

Merged
aaronlee777 merged 1 commit into
mainfrom
al/fix/payment-method-card-table-text
Jun 4, 2026
Merged

fix: simplify payment method nickname cell rendering#2020
aaronlee777 merged 1 commit into
mainfrom
al/fix/payment-method-card-table-text

Conversation

@aaronlee777
Copy link
Copy Markdown
Contributor

Summary

Drops the Flex wrapper from the nickname column in PaymentMethodCard and lets the bank account nickname inherit the table cell's default text styling. The hidden account number stays as a supporting Text but now renders at size="sm".

Changes

  • Replace the Flex + Text wrapper around bankAccount.name with the plain string so the nickname renders using the table's default text style
  • Add size="sm" to the supporting hidden-account-number Text

Demo

Related

Testing

  • Open the Payment Method card in Storybook / the SDK dev app
  • Verify the nickname row shows the account name in the table's normal text style, with the hidden account number rendered smaller underneath

🤖 Generated with Claude Code

Drop the Flex wrapper from the nickname column and let the account
nickname inherit the table's text styling. The hidden account number
stays as a supporting Text but now renders at size sm.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@aaronlee777 aaronlee777 requested a review from a team as a code owner June 4, 2026 20:24
@aaronlee777 aaronlee777 merged commit cf0357b into main Jun 4, 2026
28 checks passed
@aaronlee777 aaronlee777 deleted the al/fix/payment-method-card-table-text branch June 4, 2026 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants