feat: Center buttons

This commit is contained in:
Simon 2023-05-02 23:19:22 +02:00
parent bd1e7c4030
commit ce5b3ec3ab
1 changed files with 50 additions and 41 deletions

View File

@ -102,6 +102,7 @@ const d = ref(0);
</template>
</div>
</div>
<div class="btns">
<template v-if="question.function == 'rapport_hd'">
<button class="btn calculette" @click="showHidePopup">
<img src="/abacus.svg" alt="" />
@ -144,9 +145,17 @@ const d = ref(0);
></path>
</svg>
</button>
</div>
</template>
<style lang="sass">
.btns
width: 400px
max-width: 100%
min-width: 280px
position: relative
margin: 0 auto
.popup
position: absolute
background: var(--color-highlight-background)