mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2024-11-19 18:11:30 +01:00
add input number
This commit is contained in:
parent
1b76a7d068
commit
edf76ad7cc
@ -238,6 +238,7 @@
|
||||
ref="inputRounding"
|
||||
v-model.number="tipRounding"
|
||||
:placeholder="roundToSugestion"
|
||||
type="number"
|
||||
hint="Total amount including tip"
|
||||
:prefix="currency"
|
||||
>
|
||||
@ -673,4 +674,18 @@
|
||||
}
|
||||
})
|
||||
</script>
|
||||
<style scoped>
|
||||
|
||||
input::-webkit-outer-spin-button,
|
||||
input::-webkit-inner-spin-button {
|
||||
-webkit-appearance: none;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/* Firefox */
|
||||
input[type=number] {
|
||||
-moz-appearance: textfield;
|
||||
}
|
||||
|
||||
</style>
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in New Issue
Block a user