sonnylazuardi / react-native-credit-card

:credit_card: React native credit card display component
https://exp.host/@sonnylazuardi/react-native-credit-card-demos
MIT License
382 stars 77 forks source link

Removed flex from card container which was causing items to overlap #10

Closed jmpridgen closed 7 years ago

jmpridgen commented 7 years ago

I was having issues formatting the card. I was only able to fix it by removing the flex from the card container. I was not using any image for the card, so this may have caused the issue. Either way, it works with and without card images now.

Before: This is a flex:1 view with a card inside. No styling is applied to the card.

screen shot 2017-09-11 at 2 47 18 pm

After: This is a flex:1 view with a card inside. No styling is applied to the card.

screen shot 2017-09-11 at 2 43 23 pm
sonnylazuardi commented 7 years ago

thank you

jmpridgen commented 7 years ago

Do you plan on releasing these changes to npm?