You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After the quote card was updated to match Figma (#21656), horizontal padding was removed from quoteContainer, so QuoteDetailsCard content uses a 16px gutter from QuoteDetailsCard.styles.ts. The swap token row wrapper (inputsContainer in BridgeView.styles.ts) still used 24px, so the large amount text and fiat values sat 8px further in than the Rate / Network fee / Slippage rows.
This change sets inputsContainer.paddingHorizontal to 16 so the swap inputs share the same left edge as the quote details (and match the trending section’s px-4 gutter). Addresses SWAPS-4268.
Changelog
CHANGELOG entry: Fixed swap amount fields not lining up horizontally with swap quote details on mobile
Feature: Swap / Bridge quote layoutScenario: swap amounts align with quote detailsGiven I am on the Swap screen with tokens selected and a non-zero source amount
And an active quote is shown with the quote details card visible
When I view the source and destination amount rows and the rows below (Rate, Network fee, Slippage, etc.)
Then the left edge of the amount and fiat text should align with the left edge of the detail labels
I've completed the PR template to the best of my ability
I've included tests if applicable
I've documented my code using JSDoc format if applicable
I've applied the right labels on the PR (see labeling guidelines). Not required for external contributors.
Pre-merge reviewer checklist
I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.
Selected Performance tags: None (no tests recommended)
Risk Level: low
AI Confidence: 92%
click to see 🤖 AI reasoning details
E2E Test Selection:
The change is a single-line CSS styling modification in BridgeView.styles.ts, reducing the inputsContainer horizontal padding from 24 to 16 pixels. This is a purely cosmetic/layout change with no functional impact. It cannot break any business logic, state management, or user flows. The only relevant test tag is SmokeTrade, which covers bridge flows, to verify the UI still renders correctly and the bridge feature remains functional after the padding adjustment. No other tags are needed as this change is isolated to the Bridge view's styling. Per SmokeTrade tag description, SmokeConfirmations should also be included since bridge flows involve transaction confirmations.
Performance Test Selection:
This is a minor padding change (24px to 16px) in a style file. While it affects UI layout, it's too minor to meaningfully impact rendering performance metrics. No performance tests are warranted for this cosmetic change.
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
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
After the quote card was updated to match Figma (#21656), horizontal padding was removed from
quoteContainer, soQuoteDetailsCardcontent uses a 16px gutter fromQuoteDetailsCard.styles.ts. The swap token row wrapper (inputsContainerinBridgeView.styles.ts) still used 24px, so the large amount text and fiat values sat 8px further in than the Rate / Network fee / Slippage rows.This change sets
inputsContainer.paddingHorizontalto 16 so the swap inputs share the same left edge as the quote details (and match the trending section’spx-4gutter). Addresses SWAPS-4268.Changelog
CHANGELOG entry: Fixed swap amount fields not lining up horizontally with swap quote details on mobile
Related issues
Fixes:
Refs: SWAPS-4268
Manual testing steps
Screenshots/Recordings
Before
N/A
After
N/A
Pre-merge author checklist
Pre-merge reviewer checklist