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 22:53:07 +00:00
committed by GitHub
co-authored by Peer Richelsen
parent 41dd7bbdde
commit 47bb3000f6
+1 -1
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>