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