@@ -44,10 +44,16 @@ const useStyles = makeStyles()((theme: any) => ({
44
44
} ,
45
45
} ,
46
46
route : {
47
- display : 'grid' ,
48
- gridTemplateColumns : '1fr 1fr' ,
49
- gridTemplateRows : '1fr' ,
50
- gridTemplateAreas : `"path fees"` ,
47
+ [ theme . breakpoints . up ( 'sm' ) ] : {
48
+ display : 'grid' ,
49
+ gridTemplateColumns : '1fr 1fr' ,
50
+ gridTemplateRows : '1fr' ,
51
+ gridTemplateAreas : `"path fees"` ,
52
+ } ,
53
+ [ theme . breakpoints . down ( 'sm' ) ] : {
54
+ display : 'flex' ,
55
+ flexDirection : 'column' ,
56
+ } ,
51
57
width : '100%' ,
52
58
maxWidth : '100%' ,
53
59
fontSize : '14px' ,
@@ -63,11 +69,18 @@ const useStyles = makeStyles()((theme: any) => ({
63
69
} ,
64
70
routeTitle : {
65
71
display : 'flex' ,
72
+ [ theme . breakpoints . down ( 'sm' ) ] : {
73
+ flexDirection : 'column' ,
74
+ } ,
75
+ [ theme . breakpoints . up ( 'sm' ) ] : {
76
+ flexDirection : 'row' ,
77
+ } ,
66
78
alignItems : 'center' ,
67
79
gap : '8px' ,
68
80
fontSize : '14px' ,
69
81
fontWeight : '600' ,
70
82
marginBottom : '8px' ,
83
+ whiteSpace : 'nowrap' ,
71
84
} ,
72
85
routePath : {
73
86
display : 'flex' ,
@@ -210,14 +223,14 @@ function RouteOption(props: { route: RouteData; disabled: boolean }) {
210
223
{ /* TODO: isAutomatic to route and use transfer parameters to decide */ }
211
224
{ isAutomatic ? (
212
225
< Chip
213
- label = "One transaction "
226
+ label = "Receive tokens automatically "
214
227
color = "success"
215
228
variant = "outlined"
216
229
size = "small"
217
230
/>
218
231
) : (
219
232
< Chip
220
- label = "Two transactions "
233
+ label = "Approve a txn from your destination chain wallet "
221
234
color = "warning"
222
235
variant = "outlined"
223
236
size = "small"
0 commit comments