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:
co-authored by
Peer Richelsen
parent
41dd7bbdde
commit
47bb3000f6
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user