Skip to content

Commit

Permalink
fix: CurrencyInput width correction
Browse files Browse the repository at this point in the history
  • Loading branch information
mateoroldos committed Jul 10, 2023
1 parent 640ba3f commit 45241d8
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions src/lib/components/CurrencyInput/CurrencyInput.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,14 @@
</script>

<InputWrapper {name} {isValid} {errors} {label} {hasBorder} iconText={`$${currency}`} {tooltip}>
<div>
<input
type="text"
{name}
placeholder="0.00"
bind:value={amountValue}
bind:this={amountInput}
on:input={handleChange}
{disabled}
style={`font-size: ${fontSize}; color: ${fontColor}`}
/>
</div>
<input
type="text"
{name}
placeholder="0.00"
bind:value={amountValue}
bind:this={amountInput}
on:input={handleChange}
{disabled}
style={`font-size: ${fontSize}; color: ${fontColor}`}
/>
</InputWrapper>

0 comments on commit 45241d8

Please sign in to comment.