[PR #378] [MERGED] refactor: add fixed-width numerals to date and size on file list page #590

Closed
opened 2026-04-08 16:53:34 +03:00 by zhus · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/sigoden/dufs/pull/378
Author: @lqs
Created: 4/26/2024
Status: Merged
Merged: 4/26/2024
Merged by: @sigoden

Base: mainHead: add-fixed-width-numerals


📝 Commits (1)

  • 2982eb9 fix: add fixed-width numerals to date and size on file list page

📊 Changes

1 file changed (+2 additions, -0 deletions)

View changed files

📝 assets/index.css (+2 -0)

📄 Description

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.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/sigoden/dufs/pull/378 **Author:** [@lqs](https://github.com/lqs) **Created:** 4/26/2024 **Status:** ✅ Merged **Merged:** 4/26/2024 **Merged by:** [@sigoden](https://github.com/sigoden) **Base:** `main` ← **Head:** `add-fixed-width-numerals` --- ### 📝 Commits (1) - [`2982eb9`](https://github.com/sigoden/dufs/commit/2982eb9499ade5005c9b67f034adfbaa3ab4c91c) fix: add fixed-width numerals to date and size on file list page ### 📊 Changes **1 file changed** (+2 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `assets/index.css` (+2 -0) </details> ### 📄 Description 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. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
zhus added the pull-request label 2026-04-08 16:53:34 +03:00
zhus closed this issue 2026-04-08 16:53:34 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#590