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

This commit is contained in:
Riddhesh Mahajan 2024-01-03 22:16:10 +05:30 committed by GitHub
parent 6dec98129c
commit 7d7e74c869
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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>