diff --git a/src/lib/toastr/toast.component.ts b/src/lib/toastr/toast.component.ts index c806fc3a..6197d43e 100644 --- a/src/lib/toastr/toast.component.ts +++ b/src/lib/toastr/toast.component.ts @@ -180,7 +180,7 @@ export class Toast implements OnDestroy { this.timeout = setTimeout(() => this.remove(), this.options.extendedTimeOut); this.options.timeOut = this.options.extendedTimeOut; this.hideTime = new Date().getTime() + (this.options.timeOut || 0); - this.width = 100; + this.width = -1; if (this.options.progressBar) { this.intervalId = setInterval(() => this.updateProgress(), 10); }