The best way to control Claude Code, Codex and more from any computer or phone
Mirrored from https://github.com/Camo67/t3code.git
Synced Nov 21, 13:30 UTC
fix(web): allow tooltip text to wrap naturally (#36948)
Yash Singh committed
Nov 14, 2026 at 15:57 UTC
7873016460071936fbf2b23d3896f4cfa756fa25
2 files changed
+2
-2
apps/web/src/components/ui/popover.tsx
+1
-1
@@ -97,7 +97,7 @@ function PopoverPopup({
97
// Electron drag hit-testing ignores z-index; popups over a drag region would swallow hover.
98
"[-webkit-app-region:no-drag]",
99
tooltipStyle &&
100
- "w-fit text-balance rounded-md text-xs shadow-md/5 before:rounded-[calc(var(--radius-md)-1px)]",
100
+ "w-fit rounded-md text-xs shadow-md/5 before:rounded-[calc(var(--radius-md)-1px)]",
101
!tooltipStyle &&
102
variant !== "panel" &&
103
"shadow-[0_16px_40px_-18px_rgb(0_0_0/55%)] dark:shadow-[0_18px_44px_-18px_rgb(0_0_0/80%)]",
apps/web/src/components/ui/tooltip.tsx
+1
-1
@@ -140,7 +140,7 @@ function TooltipPopup({
140
<TooltipPositioner align={align} anchor={anchor} side={side} sideOffset={sideOffset}>
141
<TooltipPrimitive.Popup
142
className={cn(
143
- "relative flex origin-(--transform-origin) text-balance rounded-md text-popover-foreground text-xs transition-[scale,opacity] before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-md)-1px)] before:shadow-[0_1px_--theme(--color-black/4%)] data-ending-style:scale-98 data-starting-style:scale-98 data-ending-style:opacity-0 data-starting-style:opacity-0 data-instant:duration-0 dark:before:shadow-[0_-1px_--theme(--color-white/6%)]",
143
+ "relative flex origin-(--transform-origin) rounded-md text-popover-foreground text-xs transition-[scale,opacity] before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-md)-1px)] before:shadow-[0_1px_--theme(--color-black/4%)] data-ending-style:scale-98 data-starting-style:scale-98 data-ending-style:opacity-0 data-starting-style:opacity-0 data-instant:duration-0 dark:before:shadow-[0_-1px_--theme(--color-white/6%)]",
144
variant === "glass"
145
? "dropdown-glass shadow-xl shadow-black/25 before:hidden"
146
: "border bg-popover not-dark:bg-clip-padding shadow-md/5",