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

refactor: add fixed-width numerals to date and size on file list page #378

Merged
merged 1 commit into from
Apr 26, 2024

Conversation

lqs
Copy link
Contributor

@lqs lqs commented Apr 26, 2024

On macOS with Chrome, numbers rendered in the default font vary in width, resulting in misalignment and a cluttered appearance on the file list page.

This pull request addresses the issue by applying the CSS property font-variant-numeric: tabular-nums to the date and size fields.

@sigoden
Copy link
Owner

sigoden commented Apr 26, 2024

This makes sense, thanks.

@sigoden sigoden changed the title fix: add fixed-width numerals to date and size on file list page refactor: add fixed-width numerals to date and size on file list page Apr 26, 2024
@sigoden sigoden merged commit ffc0991 into sigoden:main Apr 26, 2024
@lqs lqs deleted the add-fixed-width-numerals branch April 26, 2024 09:36
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 this pull request may close these issues.

None yet

2 participants