Remove circle around markets/comments count
This commit is contained in:
parent
5efcf61289
commit
b47e4364ad
|
@ -203,12 +203,7 @@ export function UserPage(props: {
|
||||||
title: 'Markets',
|
title: 'Markets',
|
||||||
content: <CreatorContractsList contracts={usersContracts} />,
|
content: <CreatorContractsList contracts={usersContracts} />,
|
||||||
tabIcon: (
|
tabIcon: (
|
||||||
<div
|
<div className="px-0.5 font-bold">
|
||||||
className={clsx(
|
|
||||||
usersContracts.length > 9 ? 'px-1' : 'px-1.5',
|
|
||||||
'items-center rounded-full border-2 border-current py-0.5 text-xs'
|
|
||||||
)}
|
|
||||||
>
|
|
||||||
{usersContracts.length}
|
{usersContracts.length}
|
||||||
</div>
|
</div>
|
||||||
),
|
),
|
||||||
|
@ -222,14 +217,7 @@ export function UserPage(props: {
|
||||||
/>
|
/>
|
||||||
),
|
),
|
||||||
tabIcon: (
|
tabIcon: (
|
||||||
<div
|
<div className="px-0.5 font-bold">{usersComments.length}</div>
|
||||||
className={clsx(
|
|
||||||
usersComments.length > 9 ? 'px-1' : 'px-1.5',
|
|
||||||
'items-center rounded-full border-2 border-current py-0.5 text-xs'
|
|
||||||
)}
|
|
||||||
>
|
|
||||||
{usersComments.length}
|
|
||||||
</div>
|
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user