Tabs: vertically center the counter

This commit is contained in:
Alex Gleason
2023-03-22 13:23:45 -05:00
parent 69d667d6c6
commit 1954848c65

View File

@ -156,7 +156,7 @@ const Tabs = ({ items, activeItem }: ITabs) => {
>
<div className='relative'>
{count ? (
<span className='absolute -top-2 left-full ml-1'>
<span className='absolute left-full ml-2'>
<Counter count={count} />
</span>
) : null}