Skip to content

Commit

Permalink
fix(Tipseen): setting width more than max-width in tooltip default wi…
Browse files Browse the repository at this point in the history
…dth has no effect
  • Loading branch information
rivka-ungar committed Feb 19, 2025
1 parent b3464e8 commit 75abc7b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/components/Tipseen/Tipseen.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,7 @@ const Tipseen: VibeComponent<TipseenProps> & {
[styles.tipseenWrapperWithoutCustomWidth]: !width,
[styles.floating]: floating
})}
maxWidth={width}
arrowClassName={tooltipArrowClassName}
style={width ? { width } : undefined}
shouldShowOnMount={!defaultDelayOpen}
Expand Down

0 comments on commit 75abc7b

Please sign in to comment.