Skip to content

Commit 2c3be8b

Browse files
committed
fix: limit mark-done-btn animation to active button state
1 parent d263483 commit 2c3be8b

File tree

1 file changed

+6
-11
lines changed

1 file changed

+6
-11
lines changed

app-src/scripts/task-list/_task-list-d.scss

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -464,17 +464,12 @@ $task-inner-padding-left-right: 6px;
464464
}
465465
}
466466

467-
.mark-as-done-btn {
468-
ng-md-icon {
469-
svg {
470-
animation: 0.2s success-btn-ani linear;
471-
472-
[ui-view].ng-enter-active &,
473-
[ui-view].ng-leave &,
474-
[ui-view].ng-enter & {
475-
animation-duration: 0s !important;
476-
}
477-
}
467+
.mark-as-done-btn:active {
468+
animation: 0.2s success-btn-ani linear;
469+
[ui-view].ng-enter-active &,
470+
[ui-view].ng-leave &,
471+
[ui-view].ng-enter & {
472+
animation-duration: 0s !important;
478473
}
479474
}
480475

0 commit comments

Comments
 (0)