mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
Fix merge mistake; adjust animation timings.
This commit is contained in:
parent
88b694f894
commit
0b57cc650b
3 changed files with 4 additions and 8 deletions
|
@ -183,11 +183,7 @@ script(type='text/ng-template', id='commentEntryTemplate')
|
|||
placeholder="{{ 'Hit \"Enter\" to reply' + (entry.resolved ? ' and re-open' : '') }}"
|
||||
)
|
||||
.rp-entry-actions
|
||||
<<<<<<< Updated upstream
|
||||
a.rp-entry-button(href, ng-click="onResolve();", ng-if="permissions.comment && permissions.write")
|
||||
=======
|
||||
a.rp-entry-button(href, ng-click="animateAndCallOnResolve();")
|
||||
>>>>>>> Stashed changes
|
||||
a.rp-entry-button(href, ng-click="animateAndCallOnResolve();", ng-if="permissions.comment && permissions.write")
|
||||
i.fa.fa-inbox
|
||||
| Resolve
|
||||
a.rp-entry-button(href, ng-click="onReply();", ng-if="permissions.comment")
|
||||
|
|
|
@ -24,5 +24,5 @@ define [
|
|||
scope.animateAndCallOnResolve = () ->
|
||||
scope.state.animating = true
|
||||
element.find(".rp-entry").css("top", 0)
|
||||
$timeout((() -> scope.onResolve()), 200)
|
||||
$timeout((() -> scope.onResolve()), 350)
|
||||
return true
|
|
@ -263,7 +263,7 @@
|
|||
z-index: 3;
|
||||
transform: scale(.1);
|
||||
transform-origin: 0 0;
|
||||
transition: top .2s ease-out, left .2s ease-out, transform .2s ease-out, opacity .2s ease-out .1s;
|
||||
transition: top .35s ease-out, left .35s ease-out, transform .35s ease-out, opacity .35s ease-out .2s;
|
||||
}
|
||||
|
||||
&-comment-resolved {
|
||||
|
@ -516,7 +516,7 @@
|
|||
}
|
||||
|
||||
.rp-comment-wrapper {
|
||||
transition: .2s opacity ease-out;
|
||||
transition: .35s opacity ease-out .2s;
|
||||
|
||||
&-resolving {
|
||||
opacity: 0;
|
||||
|
|
Loading…
Reference in a new issue