You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 23, 2021. It is now read-only.
Currently used WorkSans does not have equally wide number characters, which makes it harder to create input field with adjustable font size. A less performant or less maintainable solution is thus required.
Steps to reproduce the behavior
Visit Payment Request Screen
Expected behavior
A traditional font, where every number character takes exactly the same width (OpenSans), should be used. A downside of such solution is that it will usually take more horizontal space for the same string of numbers.
Actual behavior
When you calculate font size based on number of characters and available width, you are left with some white space.
Description
Currently used WorkSans does not have equally wide number characters, which makes it harder to create input field with adjustable font size. A less performant or less maintainable solution is thus required.
Steps to reproduce the behavior
Visit
Payment Request Screen
Expected behavior
A traditional font, where every number character takes exactly the same width (OpenSans), should be used. A downside of such solution is that it will usually take more horizontal space for the same string of numbers.
Actual behavior
When you calculate font size based on number of characters and available width, you are left with some white space.
Needed to resolve issue No.
#294
The text was updated successfully, but these errors were encountered: