Skip to content

Commit 2f19e0e

Browse files
authored
Merge branch 'main' into swaps-4038-trending-e2e
2 parents bec34dc + 65e5c81 commit 2f19e0e

59 files changed

Lines changed: 1119 additions & 4286 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.eslintrc.js

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -117,19 +117,12 @@ module.exports = {
117117
},
118118
},
119119
{
120-
files: ['app/components/UI/Card/**/*.{js,jsx,ts,tsx}'],
121-
rules: {
122-
'@metamask/design-tokens/color-no-hex': 'error',
123-
},
124-
},
125-
{
126-
files: ['app/components/Snaps/**/*.{js,jsx,ts,tsx}'],
127-
rules: {
128-
'@metamask/design-tokens/color-no-hex': 'error',
129-
},
130-
},
131-
{
132-
files: ['app/components/UI/Predict/**/*.{js,jsx,ts,tsx}'],
120+
files: [
121+
'app/components/UI/Card/**/*.{js,jsx,ts,tsx}',
122+
'app/components/Snaps/**/*.{js,jsx,ts,tsx}',
123+
'app/components/UI/Predict/**/*.{js,jsx,ts,tsx}',
124+
'app/components/UI/Rewards/**/*.{js,jsx,ts,tsx}',
125+
],
133126
rules: {
134127
'@metamask/design-tokens/color-no-hex': 'error',
135128
},

app/components/UI/Bridge/Views/BridgeView/BridgeView.styles.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,12 @@ export const createStyles = (params: { theme: Theme }) => {
2323
backgroundColor: theme.colors.background.default,
2424
},
2525
quoteContainer: {
26-
flex: 1,
2726
justifyContent: 'flex-start',
2827
},
2928
destinationAccountSelectorContainer: {
3029
paddingBottom: 12,
3130
},
3231
dynamicContent: {
33-
flex: 1,
3432
justifyContent: 'flex-start',
3533
},
3634
keypadContainerWithDestinationPicker: {
@@ -42,6 +40,10 @@ export const createStyles = (params: { theme: Theme }) => {
4240
},
4341
scrollViewContent: {
4442
flexGrow: 1,
43+
paddingBottom: 16,
44+
},
45+
loadingContainer: {
46+
paddingTop: 8,
4547
},
4648
disclaimerText: {
4749
textAlign: 'center',

0 commit comments

Comments
 (0)