Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Set tooltip max-width (#62277)

Anton Kulyk0b2a56b859e4
diff --git a/.loki/reference/chrome_laptop_Components_Overlays_Tooltip_Long_Content_With_Fixed_Width.png b/.loki/reference/chrome_laptop_Components_Overlays_Tooltip_Long_Content_With_Fixed_Width.png
index 9c4124debd8..9eaddf77b3b 100644
Binary files a/.loki/reference/chrome_laptop_Components_Overlays_Tooltip_Long_Content_With_Fixed_Width.png and b/.loki/reference/chrome_laptop_Components_Overlays_Tooltip_Long_Content_With_Fixed_Width.png differ
diff --git a/frontend/src/metabase/ui/components/overlays/Tooltip/Tooltip.module.css b/frontend/src/metabase/ui/components/overlays/Tooltip/Tooltip.module.css
index d971cda8b55..2c9f95147dc 100644
--- a/frontend/src/metabase/ui/components/overlays/Tooltip/Tooltip.module.css
+++ b/frontend/src/metabase/ui/components/overlays/Tooltip/Tooltip.module.css
@@ -4,6 +4,7 @@
font-weight: bold;
padding: 0.6rem 0.75rem;
white-space: unset;
+ max-width: 320px;
}
.arrow {