diff --git a/app/components/malio/InputAmount.vue b/app/components/malio/InputAmount.vue index 3376c3c..f082699 100644 --- a/app/components/malio/InputAmount.vue +++ b/app/components/malio/InputAmount.vue @@ -177,10 +177,6 @@ const emit = defineEmits<{ }>() // Normalize user input into a decimal amount string using "." as separator. -// Examples: -// "12,5" -> "12.5" -// "0012,345abc" -> "12.34" -// ",5" -> "0.5" const normalizeAmount = (value: string) => { const sanitizedValue = value .replace(/\s+/g, '') @@ -243,7 +239,7 @@ const onBlur = (event: Event) => { const iconInputPaddingClass = computed(() => { if (!props.iconName) return '' - return props.iconPosition === 'left' ? '!pl-11 !pr-3' : '!pl-3' + return props.iconPosition === 'left' ? '!pl-11 !pr-3' : '' }) const disabled = computed(() => props.disabled)