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

This commit is contained in:
Riddhesh Mahajan
2024-01-03 16:46:10 +00:00
committed by GitHub
parent 6dec98129c
commit 7d7e74c869
+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>