lundi 20 avril 2015

Boostrap popover gets placed outside of window

Somehow my bootstrap popover outranges the width I gave the containing element. In fact, it looks like this: popover-bug

I initialise the popover like this:

    title: "Anzeigeeinstellungen",
    html: "true",
    placement: "bottom",
    trigger: "click focus",
    content: function(){
      return $('#popoverContent').html();
    container: '#search'

#search has a max-width of 100%

Looking forward for all types of answers: Force0234

Aucun commentaire:

Enregistrer un commentaire