Skip to content

Commit 5739061

Browse files
committed
Limit tooltip content max width
1 parent e04b5f8 commit 5739061

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/ui/tooltipWrapper.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ function TooltipWrapper({
2626
sideOffset={sideOffset}
2727
hidden={hidden}
2828
align={align}
29-
className="text-pretty border bg-popover text-popover-foreground shadow-[0px_4px_6px_-1px_rgba(0,0,0,0.10),0px_2px_4px_-1px_rgba(0,0,0,0.06)]"
29+
className="max-w-[400px] text-pretty border bg-popover text-popover-foreground shadow-[0px_4px_6px_-1px_rgba(0,0,0,0.10),0px_2px_4px_-1px_rgba(0,0,0,0.06)]"
3030
>
3131
{title}
3232
</TooltipContent>

0 commit comments

Comments
 (0)