Base solution for your next web application
Open Closed

How to Set Popup DialogWidth #2481


User avatar
0
richardlcy created

Hi Support,

Need your help on this. Maybe I know how to set the width of the popup dialog? Can let me know which Css file I need to edit please?

Below is my sample code: var modalInstance = $uibModal.open({ templateUrl: '~/App/billing/views/invoices/editModal.cshtml', controller: 'billing.views.invoices.editModal as vm', backdrop: 'static', resolve: { invoiceId: function () { return invoiceId; } } });


1 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi,

    You can check this links <a class="postlink" href="http://stackoverflow.com/questions/21311736/how-do-i-increase-modal-width-in-angular-ui-bootstrap">http://stackoverflow.com/questions/2131 ... -bootstrap</a> <a class="postlink" href="https://github.com/angular-ui/bootstrap/issues/5025">https://github.com/angular-ui/bootstrap/issues/5025</a>

    It seems like you need to set "windowClass" property.