Commit d5cfb43 1 parent 748effc commit d5cfb43 Copy full SHA for d5cfb43
File tree 2 files changed +13
-16
lines changed
src/components/connectors/card
2 files changed +13
-16
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ function ConnectorLogo({
23
23
loading = "lazy"
24
24
alt = ""
25
25
style = { {
26
- width : 'auto' ,
27
26
maxHeight : maxHeight ?? 75 ,
27
+ maxWidth : '100%' ,
28
28
padding : padding ?? '0 1rem' ,
29
29
} }
30
30
/>
Original file line number Diff line number Diff line change @@ -47,7 +47,11 @@ function ConnectorCard({
47
47
marginBottom : recommended ? 1 : 2 ,
48
48
} }
49
49
>
50
- < Box
50
+ < Stack
51
+ style = { {
52
+ justifyContent : 'center' ,
53
+ alignItems : 'center' ,
54
+ } }
51
55
sx = {
52
56
recommended
53
57
? {
@@ -59,21 +63,14 @@ function ConnectorCard({
59
63
: connectorImageBackgroundSx
60
64
}
61
65
>
62
- < Stack
63
- sx = { {
64
- justifyContent : 'center' ,
65
- alignItems : 'center' ,
66
- } }
67
- >
68
- < Box > { logo } </ Box >
66
+ { logo }
69
67
70
- { docsUrl ? (
71
- < ExternalLink link = { docsUrl } >
72
- < FormattedMessage id = "terms.documentation" />
73
- </ ExternalLink >
74
- ) : null }
75
- </ Stack >
76
- </ Box >
68
+ { docsUrl ? (
69
+ < ExternalLink link = { docsUrl } >
70
+ < FormattedMessage id = "terms.documentation" />
71
+ </ ExternalLink >
72
+ ) : null }
73
+ </ Stack >
77
74
78
75
{ recommended ? (
79
76
< Box
You can’t perform that action at this time.
0 commit comments