Skip to content

Commit 38d58a6

Browse files
authored
fix: permit simulation overflow (#13769)
<!-- Please submit this PR as a draft initially. Do not mark it as "Ready for review" until the template has been completely filled out, and PR status checks have passed at least once. --> ## **Description** <!-- Write a short description of the changes included in this pull request, also include relevant motivation and context. Have in mind the following questions: 1. What is the reason for the change? 2. What is the improvement/solution? --> ## **Related issues** Fixes: #13728 ## **Manual testing steps** 1. Go to this page... 2. 3. ## **Screenshots/Recordings** <!-- If applicable, add screenshots and/or recordings to visualize the before and after of your change. --> ### **Before** <!-- [screenshots/recordings] --> ### **After** <img width="320" src="https://github.com/user-attachments/assets/55e9f424-a572-4aa4-80bd-50764e31e810"> <img width="320" src="https://github.com/user-attachments/assets/cdfab509-9a9e-4e77-b4b1-8f82ab0eaebf"> ## **Pre-merge author checklist** - [ ] I’ve followed [MetaMask Contributor Docs](https://github.com/MetaMask/contributor-docs) and [MetaMask Mobile Coding Standards](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/CODING_GUIDELINES.md). - [ ] 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](https://jsdoc.app/) format if applicable - [ ] I’ve applied the right labels on the PR (see [labeling guidelines](https://github.com/MetaMask/metamask-mobile/blob/main/.github/guidelines/LABELING_GUIDELINES.md)). 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.
1 parent d912c8e commit 38d58a6

File tree

1 file changed

+5
-1
lines changed
  • app/components/Views/confirmations/components/Confirm/Info/TypedSignV3V4/Simulation/components/ValueDisplay

1 file changed

+5
-1
lines changed

app/components/Views/confirmations/components/Confirm/Info/TypedSignV3V4/Simulation/components/ValueDisplay/ValueDisplay.styles.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const styleSheet = (colors: Theme['colors']) =>
2323
borderColor: importedColors.transparent,
2424
borderWidth: 0,
2525
padding: 0,
26+
flexWrap: 'wrap',
2627
},
2728
loadingFiatValue: {
2829
height: 24,
@@ -44,10 +45,13 @@ const styleSheet = (colors: Theme['colors']) =>
4445
valueAndAddress: {
4546
paddingVertical: 4,
4647
paddingLeft: 8,
47-
gap: 5,
48+
columnGap: 5,
49+
rowGap: 8,
4850
flexDirection: 'row',
4951
alignItems: 'center',
5052
alignSelf: 'center',
53+
justifyContent: 'flex-end',
54+
flexWrap: 'wrap',
5155
},
5256
valueIsCredit: {
5357
backgroundColor: colors.success.muted,

0 commit comments

Comments
 (0)