Skip to content

Commit e482ff2

Browse files
committed
Prevent tooltips from collapsing the child when isChild is used
1 parent 6664b90 commit e482ff2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/webapp/app/components/primitives/Tooltip.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ function SimpleTooltip({
8787
<TooltipTrigger
8888
type="button"
8989
tabIndex={-1}
90-
className={cn("h-fit", buttonClassName)}
90+
className={cn(!asChild && "h-fit", buttonClassName)}
9191
style={buttonStyle}
9292
asChild={asChild}
9393
>

0 commit comments

Comments
 (0)