From 3afc2fa200506020fa9e152968a9ce91fd971dc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xavier=20Juli=C3=A1n?= Date: Thu, 28 Aug 2014 11:50:41 +0200 Subject: [PATCH] Fixed the flash effect to be the last-child insted of first-child --- app/styles/modules/common/comments.scss | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/styles/modules/common/comments.scss b/app/styles/modules/common/comments.scss index 579a4dea..b71d110b 100644 --- a/app/styles/modules/common/comments.scss +++ b/app/styles/modules/common/comments.scss @@ -93,16 +93,16 @@ } } .comment-list.activeanimation { - .comment-single.ng-enter:first-child, - .comment-single.ng-leave:first-child { + .comment-single.ng-enter:last-child, + .comment-single.ng-leave:last-child { @include transition(all .3s ease-in); } - .comment-single.ng-enter:first-child, - .comment-single.ng-leave.ng-leave-active:first-child { + .comment-single.ng-enter:last-child, + .comment-single.ng-leave.ng-leave-active:last-child { opacity: 0; } - .comment-single.ng-leave:first-child, - .comment-single.ng-enter.ng-enter-active:first-child { + .comment-single.ng-leave:last-child, + .comment-single.ng-enter.ng-enter-active:last-child { opacity: 1; } }