Merge branch 'icon-with-counter' into 'develop'
Fix 'Icon counter is italicized' Closes #1187 See merge request soapbox-pub/soapbox!1909
This commit is contained in:
commit
e327b16988
1 changed files with 2 additions and 2 deletions
|
@ -15,9 +15,9 @@ const IconWithCounter: React.FC<IIconWithCounter> = ({ icon, count, ...rest }) =
|
||||||
<Icon id={icon} {...rest as IIcon} />
|
<Icon id={icon} {...rest as IIcon} />
|
||||||
|
|
||||||
{count > 0 && (
|
{count > 0 && (
|
||||||
<i className='absolute -top-2 -right-2'>
|
<span className='absolute -top-2 -right-2'>
|
||||||
<Counter count={count} />
|
<Counter count={count} />
|
||||||
</i>
|
</span>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue