html - 如何更改 Bootstrap 弹出窗口的宽度

标签 html css twitter-bootstrap bootstrap-popover

我有一列,它的尺寸是

宽度:30px高度:25px

如果弹出框被触发,该列只有一个按钮,它的宽度缩放到列的宽度...有人知道如何增加弹出框的宽度吗?

width:100pxheight:50

我使用了下面的css代码

.popover{
    widht:100px;
    height:50px;
    overflow:visible;
}

最佳答案

我在 Bootstrap 4 Beta 版本上测试的一个方案:

.popover {
        min-width: 30em !important;
}

关于html - 如何更改 Bootstrap 弹出窗口的宽度,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37612989/

相关文章:

html - DatePipe 在 Safari 浏览器中不起作用

javascript - Electron:在 Windows 上禁用粘贴

AngularJS Bootstrap Popover 具有关闭按钮激活问题

javascript - 旋转木马幻灯片和导航栏更改之间的 Bootstrap 延迟

javascript - 在表单中动态添加输入(无法在 PHP 中获取值)

javascript - 将 ul 添加到现有 ul 中的 li 元素

html - float div 和绝对定位 div 下方的 div 会导致额外的边距 - 为什么?

javascript - 固定顶部 div 后的可滚动 div

css - 仅使用 css 为点击设置动画下划线

html - 纯css的书页索引效果