fixed toasts

This commit is contained in:
Eugene Pankov
2019-06-09 19:49:54 +02:00
parent 639b8e561c
commit 80e67fed22
4 changed files with 8 additions and 6 deletions

View File

@@ -10,6 +10,7 @@ export function getRootModule (plugins: any[]) {
NgbModule.forRoot(),
ToastrModule.forRoot({
positionClass: 'toast-bottom-center',
toastClass: 'toast',
preventDuplicates: true,
extendedTimeOut: 5000,
}),

View File

@@ -2,6 +2,7 @@
display: flex;
flex-direction: column;
align-items: center;
padding: 20px;
.toast {
box-shadow: 0 1px 0 rgba(0,0,0,.25);