diff --git a/packages/widget/src/components/ContractComponent/NFT/NFTBase.tsx b/packages/widget/src/components/ContractComponent/NFT/NFTBase.tsx index 75d61e4cf..2ea90ecb8 100644 --- a/packages/widget/src/components/ContractComponent/NFT/NFTBase.tsx +++ b/packages/widget/src/components/ContractComponent/NFT/NFTBase.tsx @@ -14,12 +14,16 @@ export const NFTBase: React.FC = ({ }) => { const { t } = useTranslation() return ( - ( - + + {isLoading ? ( = ({ ) : ( )} - + {isLoading ? ( ) : ( + color: 'text.secondary', + }} + > {collectionName} )} @@ -50,8 +57,9 @@ export const NFTBase: React.FC = ({ + fontWeight: 600, + }} + > {assetName} )} @@ -61,8 +69,9 @@ export const NFTBase: React.FC = ({ + color: 'text.secondary', + }} + > {t('main.ownedBy')}{' '} = ({ - ) - ); + + ) } diff --git a/packages/widget/src/components/FeeBreakdownTooltip.tsx b/packages/widget/src/components/FeeBreakdownTooltip.tsx index 3d91f11eb..e258df9cb 100644 --- a/packages/widget/src/components/FeeBreakdownTooltip.tsx +++ b/packages/widget/src/components/FeeBreakdownTooltip.tsx @@ -18,7 +18,7 @@ export const FeeBreakdownTooltip: React.FC = ({ }) => { const { t } = useTranslation() return ( - ( {gasCosts?.length ? ( @@ -28,9 +28,11 @@ export const FeeBreakdownTooltip: React.FC = ({ ) : null} {feeCosts?.length ? ( - + {t('main.fees.provider')} {getFeeBreakdownTypography(feeCosts, t)} @@ -40,8 +42,8 @@ export const FeeBreakdownTooltip: React.FC = ({ sx={{ cursor: 'help' }} > {children} - ) - ); + + ) } export const getFeeBreakdownTypography = ( @@ -54,8 +56,9 @@ export const getFeeBreakdownTypography = ( key={`${fee.token.address}${index}`} sx={{ fontSize: 12, - fontWeight: "500" - }}> + fontWeight: '500', + }} + > {t('format.currency', { value: fee.amountUSD })} ( {t('format.number', { value: Number.parseFloat(formatUnits(fee.amount, fee.token.decimals)),