Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Fix wrapping in .tooltip (#5775)

Artur Pata306290ad1182
diff --git a/lib/plausible_web/components/generic.ex b/lib/plausible_web/components/generic.ex
index 1584689f12..4e3586e189 100644
--- a/lib/plausible_web/components/generic.ex
+++ b/lib/plausible_web/components/generic.ex
@@ -542,8 +542,10 @@ defmodule PlausibleWeb.Components.Generic do
"top-0",
"-translate-y-full",
"z-[1000]",
+ "sm:min-w-48",
"sm:max-w-72",
- "whitespace-nowrap"
+ "whitespace-normal",
+ "break-words"
]
tooltip_position_classes =