fix: truncte longer text (#5150)

This commit is contained in:
Nafees Nazik
2022-10-27 08:22:03 +00:00
committed by GitHub
parent d0a24f7c3c
commit bf34296864
@@ -58,7 +58,9 @@ const VerticalTabItem = function ({
{props.icon && <props.icon className="mr-[10px] h-[16px] w-[16px] stroke-[2px] md:mt-0" />}
<div>
<span className="flex items-center space-x-2">
<Skeleton as="p">{t(name)}</Skeleton>
<Skeleton title={t(name)} as="p" className="max-w-36 truncate">
{t(name)}
</Skeleton>
{props.isExternalLink ? <Icon.FiExternalLink /> : null}
</span>
{info && (