chore: code clean-up and formatting

This commit is contained in:
Vlad Stan 2022-11-18 13:58:56 +02:00
parent edf76ad7cc
commit d64e960ef6

View File

@ -242,9 +242,6 @@
hint="Total amount including tip" hint="Total amount including tip"
:prefix="currency" :prefix="currency"
> >
<!-- <template v-slot:append>
<q-icon name="send" @click="calculatePercent" />
</template> -->
</q-input> </q-input>
<q-btn <q-btn
class="q-ml-sm" class="q-ml-sm"
@ -428,7 +425,6 @@
return this.tipRounding > this.amount return this.tipRounding > this.amount
}, },
roundToSugestion() { roundToSugestion() {
//let toNext = 1
switch (true) { switch (true) {
case this.amount > 50: case this.amount > 50:
toNext = 10 toNext = 10
@ -675,17 +671,15 @@
}) })
</script> </script>
<style scoped> <style scoped>
input::-webkit-outer-spin-button, input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button { input::-webkit-inner-spin-button {
-webkit-appearance: none; -webkit-appearance: none;
margin: 0; margin: 0;
} }
/* Firefox */ /* Firefox */
input[type=number] { input[type='number'] {
-moz-appearance: textfield; -moz-appearance: textfield;
} }
</style> </style>
{% endblock %} {% endblock %}