Browse Source

fix(payform): input styles

renovate/lint-staged-8.x
Jack Mallers 7 years ago
parent
commit
46b03abc5a
  1. 2
      app/components/Form/PayForm.js

2
app/components/Form/PayForm.js

@ -63,7 +63,7 @@ class PayForm extends Component {
isLn ?
{ width: '75%', fontSize: '85px' }
:
{ width: `${amount.length > 1 ? (amount.length * 15) - 5 : 25}%`, fontSize: `${190 - (amount.length ** 2)}px` }
{ width: `${amount.length > 1 ? (amount.length * 20) - 5 : 25}%`, fontSize: `${190 - (amount.length ** 2)}px` }
}
value={currentAmount}
onChange={event => setPayAmount(event.target.value)}

Loading…
Cancel
Save