Skip to content

Commit

Permalink
chore: fix pink toast example for edge (#576)
Browse files Browse the repository at this point in the history
* fix: pink toast example for edge

* chore: revert addition
  • Loading branch information
scttcper committed Oct 23, 2018
1 parent 75c32d0 commit 0b74242
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/app/pink.toast.ts
Expand Up @@ -31,7 +31,7 @@ import { Toast, ToastrService, ToastPackage } from '../lib/public_api';
}
`],
template: `
<div class="row">
<div class="row" [style.display]="state === 'inactive' ? 'none' : ''">
<div class="col-9">
<div *ngIf="title" [class]="options.titleClass" [attr.aria-label]="title">
{{ title }}
Expand Down Expand Up @@ -60,8 +60,7 @@ import { Toast, ToastrService, ToastPackage } from '../lib/public_api';
animations: [
trigger('flyInOut', [
state('inactive', style({
display: 'none',
opacity: 0
opacity: 0,
})),
transition('inactive => active', animate('400ms ease-out', keyframes([
style({
Expand Down

0 comments on commit 0b74242

Please sign in to comment.