I'm using the ngx-toastr library. I'm launching a message positioned at the top-center of the screen like this:
@Injectable()
export class MessageService {
constructor(private toastrService: ToastrService) { }
showErrorMessage(message: string) {
this.toastrService.error(message, undefined, {
positionClass: 'toast-top-center'
});
}
}
The problem is that the toast is being shown without any margin on the top:
How can I solve this?