angular-toastr icon indicating copy to clipboard operation
angular-toastr copied to clipboard

styling missmatch when using containerId option

Open sjoerd222888 opened this issue 7 years ago • 0 comments

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 avatar Jul 25 '17 07:07 sjoerd222888