fix: skeleton width for settings menu in sidebar (#13017)

This commit is contained in:
Riddhesh Mahajan authored and GitHub committed 2024-01-03 16:46:10 +00:00
1 parent 6dec98129c
commit 7d7e74c869
1 file changed
+1 -1
+1 -1
View File
@@ -974,7 +974,7 @@ function SideBar({ bannersHeight, user }: SideBarProps) {
<div className="flex">{t(item.name)}</div>
</span>
) : (
<SkeletonText style={{ width: `${item.name.length * 10}px` }} className="h-[20px]" />
<SkeletonText className="h-[20px] w-full" />
)}
</ButtonOrLink>
</Tooltip>