From 5863c0526ff45b106ccc19f4feac4ffb8e90edea Mon Sep 17 00:00:00 2001 From: Rivka Ungar Date: Sun, 5 Jan 2025 18:16:52 +0200 Subject: [PATCH] fix(tooltip): fix text with line breaks (#2700) --- packages/core/src/components/Tooltip/Tooltip.module.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/src/components/Tooltip/Tooltip.module.scss b/packages/core/src/components/Tooltip/Tooltip.module.scss index 5d4c8a70b1..abfec163f9 100644 --- a/packages/core/src/components/Tooltip/Tooltip.module.scss +++ b/packages/core/src/components/Tooltip/Tooltip.module.scss @@ -11,6 +11,7 @@ background-color: var(--inverted-color-background); color: var(--text-color-on-inverted); --tooltip-max-width: 240px; + white-space: pre-wrap; .image { display: block;