Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not able to set width of the popup #572

Open
ravick4u opened this issue Sep 9, 2017 · 1 comment
Open

Not able to set width of the popup #572

ravick4u opened this issue Sep 9, 2017 · 1 comment

Comments

@ravick4u
Copy link

ravick4u commented Sep 9, 2017

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
Copy link
Contributor

bgse commented Oct 30, 2017

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:

2b15adc

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants