Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shaky numbers #2

Closed
brettjanz opened this issue Apr 18, 2022 · 1 comment · Fixed by #4
Closed

Shaky numbers #2

brettjanz opened this issue Apr 18, 2022 · 1 comment · Fixed by #4
Assignees

Comments

@brettjanz
Copy link
Owner

Tenchi2xh opened this issue on Dec 22, 2021

Because number characters have various widths, they shake a lot when rapidly increasing and greatly reduce legibility:

synergism-shaky

Reading the exponent can be hard like that in certain conditions

By enabling this CSS property on body (tabular figures):

font-variant-numeric: tabular-nums;
Digits will all have the same width and will totally stabilise the rendering of rapidly increasing numbers:

synergism-stable

Which makes it much more readable in my opinion 😃

This is under macOS so I have no idea if the Windows system fonts support that feature (in that case it would be worth having a web font)

@brettjanz
Copy link
Owner Author

Pseudo-Corp#156

Link to original issue with images

@brettjanz brettjanz self-assigned this Apr 18, 2022
@brettjanz brettjanz linked a pull request Apr 18, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant