Skip to content

Commit

Permalink
fix(components): add max-width to Tooltip (#1474)
Browse files Browse the repository at this point in the history
  • Loading branch information
Niznikr authored Nov 7, 2024
1 parent 34f1227 commit cfc961e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/three-ravens-confess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@launchpad-ui/components": patch
---

Add max-width to `Tooltip`
1 change: 1 addition & 0 deletions packages/components/src/styles/Tooltip.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
color: var(--lp-color-text-ui-primary-base);
transform: translate3d(0, 0, 0);
will-change: transform, opacity;
max-width: var(--lp-menu-max-width);

&[data-placement='top'] {
--origin: translateY(4px);
Expand Down

0 comments on commit cfc961e

Please sign in to comment.