fix: skeleton width for settings menu in sidebar (#13017)
This commit is contained in:
parent
6dec98129c
commit
7d7e74c869
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue
Block a user