sforkowany z mirror/soapbox
Merge branch 'icon-with-counter' into 'develop'
Fix 'Icon counter is italicized' Closes #1187 See merge request soapbox-pub/soapbox!1909redesign-interaction-bar2
commit
e327b16988
|
@ -15,9 +15,9 @@ const IconWithCounter: React.FC<IIconWithCounter> = ({ icon, count, ...rest }) =
|
|||
<Icon id={icon} {...rest as IIcon} />
|
||||
|
||||
{count > 0 && (
|
||||
<i className='absolute -top-2 -right-2'>
|
||||
<span className='absolute -top-2 -right-2'>
|
||||
<Counter count={count} />
|
||||
</i>
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
|
|
Ładowanie…
Reference in New Issue