Skip to content

styling missmatch when using containerId option #229

@sjoerd222888

Description

@sjoerd222888

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions