Skip to content
Permalink
Browse files
Tooltip: Make 'flipfit flip' the collision default to avoid the toolt…
…ip 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 1d9eab1)
  • Loading branch information
jzaefferer authored and scottgonzalez committed Nov 13, 2012
1 parent 241c100 commit fbc0e6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
@@ -22,6 +22,9 @@
width: 350px;
height: 350px;
}
.ui-tooltip {
max-width: 350px;
}
</style>
<script>
$(function() {
@@ -54,7 +54,7 @@ $.widget( "ui.tooltip", {
position: {
my: "left top+15",
at: "left bottom",
collision: "flipfit flipfit"
collision: "flipfit flip"
},
show: true,
tooltipClass: null,

0 comments on commit fbc0e6a

Please sign in to comment.