Skip to content
TypeScript

fix(web): prevent sidebar tooltip title clipping (#10086)

Utkarsh Patil485782b2aab7
diff --git a/apps/web/src/components/Sidebar.tsx b/apps/web/src/components/Sidebar.tsx
index 082ccd13f2e..257a040811b 100644
--- a/apps/web/src/components/Sidebar.tsx
+++ b/apps/web/src/components/Sidebar.tsx
@@ -331,7 +331,7 @@ function SidebarThreadTooltip({
className="max-w-80 text-left whitespace-normal [&_[data-slot=tooltip-viewport]]:p-0"
>
<div className="flex min-w-0 max-w-80 flex-col gap-2 p-[var(--floating-content-inset)]">
- <div className="min-w-0 truncate text-xs leading-none font-medium text-foreground">
+ <div className="min-w-0 truncate text-xs leading-tight font-medium text-foreground">
{thread.title}
</div>
<div className="grid gap-1.5 pl-0.5 text-xs text-muted-foreground">