如何更改引导程序确认宽度

时间:2018-03-13 14:30:06

标签: twitter-bootstrap width popover confirmation

我正在使用Bootstrap Confirmation(http://bootstrap-confirmation.js.org/)插件。

<div class="col-xs-4 actions">
    <span class="btn btn-danger remove" data-confirm="confirmation" 
          confirm-title="Do you really want to remove item?" 
          data-singleton="true"><i class="fa fa-trash"></i></span>
</div>

$('[data-confirm=confirmation]').confirmation({
    title: function () { return $(this).attr("confirm-title"); },
    placement: 'bottom',
    btnOkClass: 'btn-xs btn-danger',
    btnOkLabel: '<i class="icon-ok-sign icon-white"></i> Tak',
    btnOkIcon: 'glyphicon glyphicon-trash',
    btnCancelLabel: '<i class="icon-remove-sign"></i> Nie',
    popout: true
});

确认弹出太窄。如何增加这个popover的宽度?

Too narrow confirmation popover

1 个答案:

答案 0 :(得分:2)

解决方案是传递容器参数,如下所示:

XSDDatetime dt = new  XSDDatetime(string);