fix: Change sidebar skeleton width to w-full, better for i18n (#11832)
Co-authored-by: Peer Richelsen <peeroke@gmail.com>pull/11826/head^2
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>
|
||||
|
|
Loading…
Reference in New Issue