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

styling missmatch when using containerId option #229

Open
sjoerd222888 opened this issue Jul 25, 2017 · 0 comments
Open

styling missmatch when using containerId option #229

sjoerd222888 opened this issue Jul 25, 2017 · 0 comments

Comments

@sjoerd222888
Copy link

In this library you have the option to change the container id using:

app.config(function(toastrConfig) {
  angular.extend(toastrConfig, {
     //...
     containerId: 'toast-container'
     //...
  });
});

However in your styling file you use #toast-container for the styling with the result that the styling is not working if you change the containerId in the options.

A suggestion would be to work with a css-class instead of an id for the container item.

What do you think?

@sjoerd222888 sjoerd222888 changed the title container id and styling mis styling missmatch when using containerId option Jul 25, 2017
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

1 participant