Closed EdmundMai closed 4 years ago
Hi @EdmundMai
This is because Eva Design System configured to use OpenSans fonts. Try switching to use them or try using another lineHeight
style property. That's already known issue which we're unable to fix currently
Thanks
Btw I have the same issue on our another internal project, and I can share you solution if I find it
@artyorsh Would you mind showing your solution? That would be really helpful
Would be glad to do this when I have it :)
@EdmundMai Sorry for the late reply. Did you resolve this? I found out that not every font is optimized to look well on Apple devices. Based on my needs, I was able to follow this answer and edit font values to make it look good on iPhone devices. This doesn't affect Android as it centers text by default
Issue type
I'm submitting a ... (check one with "x")
Issue description
Current behavior: My button text does not center vertically
Expected behavior: I expect the text to be centered vertically
Steps to reproduce: Download this font: http://fontsgeek.com/fonts/Adobe-Caslon-Pro-Regular Put the .TFF file in
src/assets/fonts/AdobeCaslonPro-Regular.ttf
App.js:
Result:
Related code:
Other information:
OS, device, package version