Fixed the flash effect to be the last-child insted of first-child

stable
Xavier Julián 2014-08-28 11:50:41 +02:00
parent fd395ca4ff
commit 3afc2fa200
1 changed files with 6 additions and 6 deletions

View File

@ -93,16 +93,16 @@
} }
} }
.comment-list.activeanimation { .comment-list.activeanimation {
.comment-single.ng-enter:first-child, .comment-single.ng-enter:last-child,
.comment-single.ng-leave:first-child { .comment-single.ng-leave:last-child {
@include transition(all .3s ease-in); @include transition(all .3s ease-in);
} }
.comment-single.ng-enter:first-child, .comment-single.ng-enter:last-child,
.comment-single.ng-leave.ng-leave-active:first-child { .comment-single.ng-leave.ng-leave-active:last-child {
opacity: 0; opacity: 0;
} }
.comment-single.ng-leave:first-child, .comment-single.ng-leave:last-child,
.comment-single.ng-enter.ng-enter-active:first-child { .comment-single.ng-enter.ng-enter-active:last-child {
opacity: 1; opacity: 1;
} }
} }