fix(accounts): vertically align row arrows on account details page - #46822
Merged
Merged
Conversation
The arrow ButtonIcon in each row was wrapped in a block-level Box. Since ButtonIcon is inline-flex, it sat on the wrapper's text baseline, adding descender space below it and pushing the arrow above the row's vertical centre relative to the value text. Render the ButtonIcon directly inside the already flex/items-center value container so it is centred with the text. Co-authored-by: Yanrong Chen <yanrong-chen@users.noreply.github.com>
Contributor
✨ Files requiring CODEOWNER review ✨🔑 @MetaMask/accounts-engineers (2 files, +55 -62)
|
Contributor
Builds ready [581a3a5]
⚡ Performance Benchmarks (Total: 🟢 8 pass · 🟡 3 warn · 🔴 2 fail)
Bundle Size Diffs
|
|
gantunesr
approved these changes
Sep 30, 2026
yanrong-chen
enabled auto-merge
September 30, 2026 22:11
georgewrmarshall
approved these changes
Sep 30, 2026
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
On the account details page, the
>arrow at the end of each row sat slightly higher than the text next to it. This PR centres the arrows so they line up with the text in every row, including Account name, Networks, Private keys, Smart Account, Wallet, Secret Recovery Phrase and Remove account.Changelog
CHANGELOG entry: Fixed the vertical alignment of the arrow icons on the account details page.
Manual testing steps
>arrow in each row is vertically centred with the row's text.Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist