fix: Change sidebar skeleton width to w-full, better for i18n (#11832)

Co-authored-by: Peer Richelsen <peeroke@gmail.com>
This commit is contained in:
Alex van Andel 2023-10-11 23:53:07 +01:00 committed by GitHub
parent 41dd7bbdde
commit 47bb3000f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -678,7 +678,7 @@ const NavigationItem: React.FC<{
{item.badge && item.badge}
</span>
) : (
<SkeletonText style={{ width: `${item.name.length * 10}px` }} className="h-[20px]" />
<SkeletonText className="h-[20px] w-full" />
)}
</Link>
</Tooltip>