File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
wormhole-connect/src/views/Bridge Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -88,6 +88,7 @@ const useStyles = makeStyles()((theme: any) => ({
88
88
gap : '8px' ,
89
89
[ theme . breakpoints . down ( 'sm' ) ] : {
90
90
gap : '4px' ,
91
+ alignContent : 'center' ,
91
92
} ,
92
93
} ,
93
94
routeRight : {
@@ -103,6 +104,17 @@ const useStyles = makeStyles()((theme: any) => ({
103
104
opacity : '0.6' ,
104
105
fontSize : '12px' ,
105
106
} ,
107
+ multiLineChip : {
108
+ [ theme . breakpoints . down ( 'sm' ) ] : {
109
+ height : 'auto' ,
110
+ '& .MuiChip-label' : {
111
+ display : 'block' ,
112
+ whiteSpace : 'normal' ,
113
+ textAlign : 'center' ,
114
+ maxWidth : '256px' ,
115
+ } ,
116
+ } ,
117
+ } ,
106
118
} ) ) ;
107
119
108
120
export function Banner ( props : { text ?: string ; route ?: RouteData } ) {
@@ -227,13 +239,15 @@ function RouteOption(props: { route: RouteData; disabled: boolean }) {
227
239
color = "success"
228
240
variant = "outlined"
229
241
size = "small"
242
+ className = { classes . multiLineChip }
230
243
/>
231
244
) : (
232
245
< Chip
233
246
label = "Approve a txn from your destination chain wallet"
234
247
color = "warning"
235
248
variant = "outlined"
236
249
size = "small"
250
+ className = { classes . multiLineChip }
237
251
/>
238
252
) }
239
253
</ div >
You can’t perform that action at this time.
0 commit comments