@@ -111,6 +111,7 @@ const InstallButton = ({ data, theme }) => {
111
111
const Extension = ( props ) => {
112
112
const theme = useTheme ( ) ;
113
113
const isSM = useMediaQuery ( theme . breakpoints . down ( 'md' ) ) ;
114
+ const isDarkMode = theme . palette . mode === 'dark' ;
114
115
115
116
const links = [
116
117
{
@@ -247,7 +248,7 @@ const Extension = (props) => {
247
248
</ Box >
248
249
</ Box >
249
250
</ Grid >
250
- < Grid item sm = { 12 } md = { 4 } >
251
+ < Grid sx = { { width : '100%' } } item sm = { 12 } md = { 4 } >
251
252
< Box >
252
253
< InstallButton data = { props } theme = { theme } />
253
254
< Box
@@ -256,7 +257,11 @@ const Extension = (props) => {
256
257
display : 'flex' ,
257
258
flexDirection : 'column' ,
258
259
gap : 4 ,
259
- border : `1px solid ${ theme . palette . common . grey } ` ,
260
+ border : `1px solid ${
261
+ isDarkMode
262
+ ? theme . palette . common . white
263
+ : theme . palette . common . grey
264
+ } `,
260
265
borderRadius : 2 ,
261
266
background : theme . palette . background . paper ,
262
267
mt : 2 ,
@@ -315,7 +320,11 @@ const Extension = (props) => {
315
320
p : 5 ,
316
321
display : 'flex' ,
317
322
flexDirection : 'column' ,
318
- border : `1px solid ${ theme . palette . common . grey } ` ,
323
+ border : `1px solid ${
324
+ isDarkMode
325
+ ? theme . palette . common . white
326
+ : theme . palette . common . grey
327
+ } `,
319
328
borderRadius : 2 ,
320
329
background : theme . palette . background . paper ,
321
330
mt : 2 ,
@@ -364,7 +373,11 @@ const Extension = (props) => {
364
373
p : 5 ,
365
374
display : 'flex' ,
366
375
flexDirection : 'column' ,
367
- border : `1px solid ${ theme . palette . common . grey } ` ,
376
+ border : `1px solid ${
377
+ isDarkMode
378
+ ? theme . palette . common . white
379
+ : theme . palette . common . grey
380
+ } `,
368
381
borderRadius : 2 ,
369
382
background : theme . palette . background . paper ,
370
383
mt : 2 ,
0 commit comments