From c7da788c57095907c86f701a828b9496fe570d1d Mon Sep 17 00:00:00 2001 From: ppetkow Date: Thu, 29 Aug 2019 17:58:29 +0300 Subject: [PATCH] feat: change default style display behavior to nothing (#702) * update inline style property to have chans for overriding from 3th part side * add and without animation --- src/lib/toastr/toast-noanimation.component.ts | 1 - src/lib/toastr/toast.component.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/src/lib/toastr/toast-noanimation.component.ts b/src/lib/toastr/toast-noanimation.component.ts index 6d78de0d..8f4a5d1f 100644 --- a/src/lib/toastr/toast-noanimation.component.ts +++ b/src/lib/toastr/toast-noanimation.component.ts @@ -59,7 +59,6 @@ export class ToastNoAnimation implements OnDestroy { if (this.state === 'inactive') { return 'none'; } - return 'inherit'; } /** controls animation */ diff --git a/src/lib/toastr/toast.component.ts b/src/lib/toastr/toast.component.ts index c389df68..e36664e2 100644 --- a/src/lib/toastr/toast.component.ts +++ b/src/lib/toastr/toast.component.ts @@ -80,7 +80,6 @@ export class Toast implements OnDestroy { if (this.state.value === 'inactive') { return 'none'; } - return 'inherit'; } private timeout: any;