Skip to content

Commit f3b915a

Browse files
committed
cherry-pick sp-icon
1 parent 2d2c483 commit f3b915a

3 files changed

Lines changed: 15 additions & 12 deletions

File tree

centrifuge-app/src/components/PoolOverview/KeyMetrics.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ export const RatingPill = ({ agency, reportUrl, reportFile, value }: RatingProps
353353
? [
354354
{
355355
text: 'View PDF report',
356-
url: cent.metadata.parseMetadataUrl(reportFile?.uri ?? ''),
356+
url: cent.metadata.parseMetadataUrl(reportFile?.uri ?? '') || '',
357357
},
358358
]
359359
: []),
@@ -367,8 +367,9 @@ export const RatingPill = ({ agency, reportUrl, reportFile, value }: RatingProps
367367
padding="2px 0px"
368368
display="flex"
369369
alignItems="center"
370-
width={70}
371370
justifyContent="center"
371+
pl={1}
372+
pr={1}
372373
>
373374
{agency && ratingIcons[agency] ? ratingIcons[agency] : <IconSp size={16} />}
374375
<Text variant="body2" style={{ marginLeft: 4 }}>

fabric/src/icon-svg/IconSp.svg

Lines changed: 0 additions & 10 deletions
This file was deleted.

fabric/src/icon-svg/icon-sp.svg

Lines changed: 12 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)