Skip to content

Commit 8ce5242

Browse files
committed
center scroll up button without using margins
1 parent 29001b0 commit 8ce5242

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/components/shared/ScrollUpButton.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<!-- eslint-disable max-len -->
3-
<div class="fixed bottom-0 w-full flex justify-center -ml-4 sm:-ml-16 lg:-ml-32">
3+
<div class="fixed bottom-0 w-full flex justify-center left-0">
44
<button v-if="showScroll"
55
class="z-10 text-2xl text-white-matcha font-bold mb-10 w-12 h-12 rounded-full bg-purple-matcha"
66
v-on:click="scrollUp()">

0 commit comments

Comments
 (0)