likeastore / ngDialog

Modals and popups provider for Angular.js applications
http://likeastore.github.io/ngDialog
3.14k stars 692 forks source link

Not able to set width of the popup #572

Open ravick4u opened 7 years ago

ravick4u commented 7 years ago

What version of ng-dialog are you using? v0.3.12 What version of AngularJS are you using? 1.6.5 What browsers are affected? IE11 Please provide either a JSFiddle, Plunkr example that replicates the issue https://plnkr.co/edit/d1d0b4ffSXNLundQP3V7 Please describe the issue I would like to set dialog's width property but it's not setting width. Every time it's taking 450px which is coming from below class.

.ngdialog-theme-default.ngdialog .ngdialog-content

What did you expect to happen? width should be set in px or in percentage.

What actually happened? width is not set for px or percentage.

bgse commented 6 years ago

The version of ngDialog you are using is quite old, and a quick look at the code suggests that the feature you are trying to use was introduced in a later version:

https://github.com/likeastore/ngDialog/commit/2b15adc764e69eb6677121a8e30811a284d5425a

You can confirm this by using a recent version (like 1.4.0) of ngDialog in your Plunkr.