#37472 closed Cleanup/optimization (wontfix)
Numbers in Admin tables
| 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 )
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,
Attachments (3)
Change History (6)
by , 3 weeks ago
| Attachment: | non-tabular.png added |
|---|
by , 3 weeks ago
| Attachment: | tabular.png added |
|---|
comment:1 by , 3 weeks ago
| Description: | modified (diff) |
|---|
comment:2 by , 3 weeks ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
by , 3 weeks ago
| Attachment: | non-tabular2.png added |
|---|
comment:3 by , 3 weeks ago
They are not the same and in number heavy tables the effect is very visible. "Minor css improvements" can have big effects and big wins, and this is a true one liner that has a big quality of life improvement.
The django tagline used to be "The web framework for perfectionists with deadlines." but I see that was removed.
Note:
See TracTickets
for help on using tickets.



The before and after look almost the same to me
I don't think we will take minor css improvements unless there is a clear UI bug or we are addressing some form of accessibility problem