@@ -104,6 +104,9 @@ const StablecoinAccordion: React.FC = () => {
104
104
const { cardListGroups } = useStablecoinAccordion ( )
105
105
const { t } = useTranslation ( "page-stablecoins" )
106
106
107
+ // Overrides CardList default image width
108
+ const DEFAULT_IMAGE_WIDTH = 24
109
+
107
110
return (
108
111
< Accordion borderRadius = "base" width = "full" allowToggle reduceMotion >
109
112
< AccordionCustomItem category = "dapps" >
@@ -141,7 +144,10 @@ const StablecoinAccordion: React.FC = () => {
141
144
{ t ( "page-stablecoins-accordion-swap-dapp-link" ) }
142
145
</ InlineLink >
143
146
</ p >
144
- < CardList items = { cardListGroups . dapps } />
147
+ < CardList
148
+ items = { cardListGroups . dapps }
149
+ imageWidth = { DEFAULT_IMAGE_WIDTH }
150
+ />
145
151
</ RightColumnPanel >
146
152
</ AccordionCustomItem >
147
153
< AccordionCustomItem category = "buy" >
@@ -167,7 +173,10 @@ const StablecoinAccordion: React.FC = () => {
167
173
< SectionTitle >
168
174
{ t ( "page-stablecoins-accordion-buy-exchanges-title" ) }
169
175
</ SectionTitle >
170
- < CardList items = { cardListGroups . exchanges } />
176
+ < CardList
177
+ items = { cardListGroups . exchanges }
178
+ imageWidth = { DEFAULT_IMAGE_WIDTH }
179
+ />
171
180
</ RightColumnPanel >
172
181
</ AccordionCustomItem >
173
182
< AccordionCustomItem category = "earn" >
@@ -189,7 +198,10 @@ const StablecoinAccordion: React.FC = () => {
189
198
{ t ( "page-stablecoins-accordion-earn-projects-title" ) }
190
199
</ SectionTitle >
191
200
< p > { t ( "page-stablecoins-accordion-earn-projects-copy" ) } </ p >
192
- < CardList items = { cardListGroups . earn } />
201
+ < CardList
202
+ items = { cardListGroups . earn }
203
+ imageWidth = { DEFAULT_IMAGE_WIDTH }
204
+ />
193
205
</ RightColumnPanel >
194
206
</ AccordionCustomItem >
195
207
< AccordionCustomItem category = "generate" >
@@ -231,7 +243,10 @@ const StablecoinAccordion: React.FC = () => {
231
243
</ SectionTitle >
232
244
< p > { t ( "page-stablecoins-accordion-borrow-places-intro" ) } </ p >
233
245
< Box mb = { 8 } >
234
- < CardList items = { cardListGroups . borrow } />
246
+ < CardList
247
+ items = { cardListGroups . borrow }
248
+ imageWidth = { DEFAULT_IMAGE_WIDTH }
249
+ />
235
250
</ Box >
236
251
< SectionTitle >
237
252
{ t ( "page-stablecoins-accordion-borrow-risks-title" ) }
0 commit comments