From fbc0e6afe6cb277f7e8b91817484cdcd002afc32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rn=20Zaefferer?= Date: Mon, 5 Nov 2012 19:05:58 +0100 Subject: [PATCH] Tooltip: Make 'flipfit flip' the collision default to avoid the tooltip ever overlapping the trigger. Also fix max-width for custom-content demo. Fixes #8739 - Tooltip: Default positioning on large items off. (cherry picked from commit 1d9eab1ead0d5a6f60e31437bb539eb3f804bacc) --- demos/tooltip/custom-content.html | 3 +++ ui/jquery.ui.tooltip.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/demos/tooltip/custom-content.html b/demos/tooltip/custom-content.html index 93172524a..20039e2b8 100644 --- a/demos/tooltip/custom-content.html +++ b/demos/tooltip/custom-content.html @@ -22,6 +22,9 @@ width: 350px; height: 350px; } + .ui-tooltip { + max-width: 350px; + }