Opened 2 hours ago

Last modified 2 hours ago

#37472 new Cleanup/optimization

Numbers in Admin tables — at Version 1

Reported by: minusf Owned by:
Component: contrib.admin Version: 6.1
Severity: Low Keywords: css font tabular
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: yes

Description (last modified by minusf)

Hi. I would like to propose to add font-variant-numeric: tabular-nums; to tables in the django admin:

M django/contrib/admin/static/admin/css/base.css
@@ -348,6 +348,7 @@ a.quiet:visited {
 table {
     border-collapse: collapse;
     border-color: var(--border-color);
+    font-variant-numeric: tabular-nums;
 }
 
 td,

Screenshot without:

Screenshot with:

Change History (3)

by minusf, 2 hours ago

Attachment: non-tabular.png​ added

by minusf, 2 hours ago

Attachment: tabular.png​ added

comment:1 by minusf, 2 hours ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top