Skip to content

Scheduling infrastructure for absolutely everyone.

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

Riddhesh Mahajan7d7e74c869b8
diff --git a/packages/features/shell/Shell.tsx b/packages/features/shell/Shell.tsx
index ec9f75dd4a1..10f7292007d 100644
--- a/packages/features/shell/Shell.tsx
+++ b/packages/features/shell/Shell.tsx
@@ -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>