]> OzVa Git service - ozva-cloud/commitdiff
refactor: add fixed-width numerals to date and size on file list page (#378)
authorQishuai Liu <lqs@lqs.me>
Fri, 26 Apr 2024 09:34:38 +0000 (18:34 +0900)
committerGitHub <noreply@github.com>
Fri, 26 Apr 2024 09:34:38 +0000 (17:34 +0800)
assets/index.css

index 5718c15d554278c2a231bdadc1413fd0b6848855..c77da01446a69072fbdcb25fff0a7d591ae1f52a 100644 (file)
@@ -159,12 +159,14 @@ body {
 .paths-table .cell-mtime {
   width: 120px;
   padding-left: 0.6em;
+  font-variant-numeric: tabular-nums;
 }
 
 .paths-table .cell-size {
   text-align: right;
   width: 70px;
   padding-left: 0.6em;
+  font-variant-numeric: tabular-nums;
 }
 
 .path svg {