Skip to content

Commit

Permalink
- uniform badge display
Browse files Browse the repository at this point in the history
  • Loading branch information
radumojic committed Mar 15, 2024
1 parent f0732e0 commit 0e6219e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions src/components/ProvidersTable/ProvidersTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export const ProvidersTable = ({
{displayProviders.map((provider, i) => (
<tr key={provider.provider}>
<td>
<div className='d-flex align-items-center hash hash-lg'>
<div className='d-flex align-items-center hash hash-lg gap-2'>
{showIdentity && (
<SharedIdentity.Avatar
identity={provider.identityInfo || {}}
Expand All @@ -102,13 +102,12 @@ export const ProvidersTable = ({
<Trim text={provider.provider} />
)}
</NetworkLink>

{showIdentity && provider.featured && (
<Overlay title='Verified'>
<FontAwesomeIcon
icon={faBadgeCheck}
size='lg'
className='ms-2 text-primary'
size='sm'
className='text-primary'
/>
</Overlay>
)}
Expand Down
4 changes: 2 additions & 2 deletions src/layouts/AccountLayout/AccountTabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { useSelector } from 'react-redux';

import { Tabs } from 'components/Tabs';
import { urlBuilder } from 'helpers';
import { faCircleCheck } from 'icons/solid';
import { faBadgeCheck } from 'icons/solid';
import { activeNetworkSelector, accountSelector } from 'redux/selectors';
import { accountsRoutes } from 'routes';

Expand Down Expand Up @@ -65,7 +65,7 @@ export const AccountTabs = () => {
Code{' '}
{isVerified && (
<FontAwesomeIcon
icon={faCircleCheck}
icon={faBadgeCheck}
size='xs'
className='text-primary-200 ms-1'
/>
Expand Down

0 comments on commit 0e6219e

Please sign in to comment.