mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-15 23:38:52 -04:00
Use tabular numbers for dashboard banner counts
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
This commit is contained in:
@@ -150,7 +150,7 @@
|
||||
}
|
||||
|
||||
&-count {
|
||||
@include govuk-font(36, $weight: bold);
|
||||
@include govuk-font(36, $weight: bold, $tabular: true);
|
||||
padding-right: 8px;
|
||||
position: relative;
|
||||
// remove the top of the extra line-height this introduces
|
||||
|
||||
Reference in New Issue
Block a user