Changing the width of Bootstrap popover

后端 未结 23 1526
北恋
北恋 2020-11-27 10:51

I am designing a page using Bootstrap 3. I am trying to use a popover with placement: right on an input element. The new Bootstrap ensures that if you use

23条回答
  •  自闭症患者
    2020-11-27 11:02

    On Bootstrap 4, you can easily review the template option, by overriding the max-width :

    $('#myButton').popover({
        placement: 'bottom',
        html: true,
        trigger: 'click',
        template: ''
    });
    

    This is a good solution if you have several popovers on page.

提交回复
热议问题