bootstrap
bootstrap copied to clipboard
Popovers are broken if used on <i class="icon-*"></i> or <span class="add-on">...</span>
In case of <span class="add-on"> there is no popover body (no content)
In case of <i class="icon-*"> content runs out from popover frame and is positioned in center
fiddle demonstrating your problem - http://jsfiddle.net/bJDPK/
and heres a fix - http://jsfiddle.net/bJDPK/1/
what I did was include my tooltip.js fix from #5768 and then added the container option which you can see.. you can also use data-container="body" and body can be replaced with any other element you'd want it to be appended to
Closing as dupe of other tooltip/popover bugs.
Container fixed the problem, thank You.