Skip to content

Commit d132f35

Browse files
committed
Scroll to top updates
1 parent 718c6d4 commit d132f35

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/App.vue

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@
1111
<!-- Scroll to top -->
1212
<back-to-top
1313
visibleoffset="500"
14-
right="40px"
15-
bottom="40px"
14+
right="30px"
15+
bottom="20px"
1616
class="shadow-lg"
1717
>
18-
<i data-feather="arrow-up"></i>
18+
<i data-feather="chevron-up"></i>
1919
</back-to-top>
2020

2121
<!-- App footer -->
@@ -56,7 +56,11 @@ export default {
5656
}
5757
5858
.vue-back-to-top {
59-
@apply p-2 sm:p-4 bg-indigo-500 hover:bg-indigo-600 text-white;
59+
@apply p-2 bg-indigo-500 hover:bg-indigo-600 text-white transition
60+
duration-500
61+
ease-in-out
62+
transform
63+
hover:-translate-y-1 hover:scale-110;
6064
border-radius: 50%;
6165
font-size: 22px;
6266
line-height: 22px;

0 commit comments

Comments
 (0)