Holger Just wrote in #note-1:
I'm not actually sure if the default font used by Redmine supports this, but we may also want to set font-variant-numeric: tabular-nums there to make sure that the numbers align nicely within the table.
What are your thoughts on applying font-variant-numeric: tabular-nums globally?
I think that tabular-nums might be preferable for many use cases in Redmine.
By the way, it appears that in the Noto Sans font used by Redmine after r23096, all numbers already have the same width even without setting font-variant-numeric: tabular-nums;.
diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css
index f5b47e388..de15e4590 100644
--- a/app/assets/stylesheets/application.css
+++ b/app/assets/stylesheets/application.css
@@ -24,7 +24,15 @@
html, body { min-height: 100vh; }
html {overflow-y:scroll;}
-body { font-family: "Noto Sans", sans-serif; font-size: 0.875rem; color:#333; margin: 0; padding: 0; min-width: 900px; }
+body {
+ font-family: "Noto Sans", sans-serif;
+ font-variant-numeric: tabular-nums;
+ font-size: 0.875rem;
+ color: #333;
+ margin: 0;
+ padding: 0;
+ min-width: 900px;
+}
h1, h2, h3, h4, h5, h6 {font-family: "Noto Sans", sans-serif;padding: 2px 10px 1px 0px;margin: 0 0 10px 0;}
#content h1, h2, h3, h4, h5, h6 {color: #555;}