fix: use tooltip and max-w (#5531)

This commit is contained in:
Udit Takkar
2022-11-15 14:24:23 +00:00
committed by GitHub
parent 6771c11360
commit a5249b6cb5
@@ -64,7 +64,7 @@ const VerticalTabItem = function ({
{props.isExternalLink ? <Icon.FiExternalLink /> : null}
</span>
{info && (
<Skeleton as="p" className="mt-1 text-xs font-normal">
<Skeleton as="p" title={t(info)} className="max-w-44 mt-1 truncate text-xs font-normal">
{t(info)}
</Skeleton>
)}