Skip to content

Commit

Permalink
fix: allow word break and add max width to tooltip (#948)
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-siek authored Mar 15, 2023
1 parent fdd6706 commit 0645c1f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/styles/tooltip.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@
border-radius: 3px;
z-index: var(--z-index-tooltip);
text-align: center;
max-width: calc(100vw - 16px);
word-break: break-word;
}

.Tooltip--hidden {
Expand Down

0 comments on commit 0645c1f

Please sign in to comment.