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

pull/5533/head^2
Udit Takkar 2022-11-15 19:54:23 +05:30 committed by GitHub
parent 6771c11360
commit a5249b6cb5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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>
)}