We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 092907d commit 251c14aCopy full SHA for 251c14a
frontend/src/components/shared/ScrollUpButton.vue
@@ -1,9 +1,11 @@
1
<template>
2
<!-- eslint-disable max-len -->
3
- <button v-if="showScroll"
4
- class="z-10 fixed text-2xl text-white-matcha font-bold bottom-0 mx-auto ml-4 sm:ml-8 mb-8 w-12 h-12 rounded-full bg-purple-matcha"
5
- v-on:click="scrollUp()">
6
- ↑</button>
+ <div class="fixed bottom-0 w-full flex justify-center -ml-4 sm:-ml-16 lg:-ml-32">
+ <button v-if="showScroll"
+ class="z-10 text-2xl text-white-matcha font-bold mb-10 w-12 h-12 rounded-full bg-purple-matcha"
+ v-on:click="scrollUp()">
7
+ ↑</button>
8
+ </div>
9
</template>
10
11
<script>
0 commit comments