diff --git a/components/BackToTop.vue b/components/BackToTop.vue index 7d05abb..b59e690 100644 --- a/components/BackToTop.vue +++ b/components/BackToTop.vue @@ -23,7 +23,7 @@ export default { default: function() { return { right: '1rem', - bottom: '3rem', + bottom: '6rem', width: '2.5rem', height: '2.5rem', 'border-radius': '.25rem', @@ -96,11 +96,12 @@ export default { } .fade-enter-active, .fade-leave-active { - transition: opacity .5s; + transition: all .5s; } .fade-enter, .fade-leave-to { opacity: 0 + transform translateY(120px) } .back-to-ceiling .Icon { fill: #9aaabf;