Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bootstrap Popovers are not positioned correctly

I have been implementing some extra placements for bootstrap's popovers, and they are all working quite nicely. I am however having trouble with dynamic content in popovers.

The content is rendering fine and dandy, but if I use top positioning for the popover, and it's height changes (dynamically) according to it's content, the placement becomes wrong:

enter image description here

How can I fix the popovers so that when the height is adjusted, the anchor point stays the same?

like image 660
Sneaksta Avatar asked Dec 10 '25 10:12

Sneaksta


1 Answers

Try this:

.popover{position:fixed;}
like image 61
ɐsɹǝʌ ǝɔıʌ Avatar answered Dec 12 '25 01:12

ɐsɹǝʌ ǝɔıʌ



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!