sbycrosz / react-native-credit-card-input

Easy, cross-platform credit-card input for your React Native Project! Start accepting payment 💰 in your app today!
MIT License
1.46k stars 699 forks source link

The card number field can be super wide and sometimes pushes the expiration date field too far off to see. #112

Closed haydenlingle closed 2 months ago

haydenlingle commented 6 years ago

I fixed this temporarily by adding a scalar of .75 to CARD_NUMBER_INPUT_WIDTH in the CreditCardInput.js file in the node modules folder under the react-native-credit-card-input folder, but this will get overridden when my colleagues run npm install. Anyone have experience modifying this permanently?