From dd6944e8ef337d5cfa87cdced6ec4adde80b802c Mon Sep 17 00:00:00 2001 From: Chris Hill-Scott Date: Fri, 27 Mar 2020 09:30:28 +0000 Subject: [PATCH] Use tabular figures for template statistics MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We use tabular (not lining) figures everywhere else that we display counts, so that they don’t shift around as the AJAX updates the numbers. There’s a good explanation of the difference here: https://www.fonts.com/content/learning/fontology/level-3/numbers/proportional-vs-tabular-figures --- app/assets/stylesheets/views/dashboard.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/assets/stylesheets/views/dashboard.scss b/app/assets/stylesheets/views/dashboard.scss index 1db274e5f..f694415d6 100644 --- a/app/assets/stylesheets/views/dashboard.scss +++ b/app/assets/stylesheets/views/dashboard.scss @@ -27,7 +27,7 @@ text-align: left; &-bar { - @include bold-27; + @include bold-27($tabular-numbers: true); box-sizing: border-box; display: inline-block; overflow: visible;