3

I Have a column whose dimensions are

width:30px and height:25px

The column bears only one button if the popover is triggered, It's width scales to the width of column ... Can someone know how to increase the width of the popover?

width:100px and height:50

I have used the following css code

.popover{
    widht:100px;
    height:50px;
    overflow:visible;
}
dippas
  • 58,591
  • 15
  • 114
  • 126
Dilkush
  • 113
  • 1
  • 2
  • 15

2 Answers2

8

A solution I tested on the Bootstrap 4 Beta version:

.popover {
        min-width: 30em !important;
}
vzR
  • 1,377
  • 1
  • 12
  • 16
2

You want to change the container that is used with the popover.

This can be done via through Javsascript where you initialize the container of the popover on your specified element.

// where 'body' is the container you want to contain the popover within
$('[data-toggle="popover"]').popover({
container: 'body' });
midda25
  • 152
  • 1
  • 2
  • 12