bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Popovers are broken if used on <i class="icon-*"></i> or <span class="add-on">...</span>

Open nowak-ninja opened this issue 14 years ago • 3 comments

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

nowak-ninja avatar Nov 13 '12 15:11 nowak-ninja

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

Yohn avatar Nov 13 '12 19:11 Yohn

Closing as dupe of other tooltip/popover bugs.

mdo avatar Nov 14 '12 06:11 mdo

Container fixed the problem, thank You.

nowak-ninja avatar Nov 14 '12 09:11 nowak-ninja